Struct aws_sdk_s3::model::VersioningConfiguration
source · #[non_exhaustive]pub struct VersioningConfiguration { /* private fields */ }
Expand description
Describes the versioning state of an Amazon S3 bucket. For more information, see PUT Bucket versioning in the Amazon S3 API Reference.
Implementations§
source§impl VersioningConfiguration
impl VersioningConfiguration
sourcepub fn mfa_delete(&self) -> Option<&MfaDelete>
pub fn mfa_delete(&self) -> Option<&MfaDelete>
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
sourcepub fn status(&self) -> Option<&BucketVersioningStatus>
pub fn status(&self) -> Option<&BucketVersioningStatus>
The versioning state of the bucket.
source§impl VersioningConfiguration
impl VersioningConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VersioningConfiguration
.
Trait Implementations§
source§impl Clone for VersioningConfiguration
impl Clone for VersioningConfiguration
source§fn clone(&self) -> VersioningConfiguration
fn clone(&self) -> VersioningConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VersioningConfiguration
impl Debug for VersioningConfiguration
source§impl PartialEq<VersioningConfiguration> for VersioningConfiguration
impl PartialEq<VersioningConfiguration> for VersioningConfiguration
source§fn eq(&self, other: &VersioningConfiguration) -> bool
fn eq(&self, other: &VersioningConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.