Struct aws_sdk_securityhub::types::builders::AwsS3BucketBucketVersioningConfigurationBuilder
source · #[non_exhaustive]pub struct AwsS3BucketBucketVersioningConfigurationBuilder { /* private fields */ }Expand description
A builder for AwsS3BucketBucketVersioningConfiguration.
Implementations§
source§impl AwsS3BucketBucketVersioningConfigurationBuilder
impl AwsS3BucketBucketVersioningConfigurationBuilder
sourcepub fn is_mfa_delete_enabled(self, input: bool) -> Self
pub fn is_mfa_delete_enabled(self, input: bool) -> Self
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
sourcepub fn set_is_mfa_delete_enabled(self, input: Option<bool>) -> Self
pub fn set_is_mfa_delete_enabled(self, input: Option<bool>) -> Self
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
sourcepub fn get_is_mfa_delete_enabled(&self) -> &Option<bool>
pub fn get_is_mfa_delete_enabled(&self) -> &Option<bool>
Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The versioning status of the S3 bucket. Valid values are Enabled or Suspended.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The versioning status of the S3 bucket. Valid values are Enabled or Suspended.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The versioning status of the S3 bucket. Valid values are Enabled or Suspended.
sourcepub fn build(self) -> AwsS3BucketBucketVersioningConfiguration
pub fn build(self) -> AwsS3BucketBucketVersioningConfiguration
Consumes the builder and constructs a AwsS3BucketBucketVersioningConfiguration.
Trait Implementations§
source§impl Clone for AwsS3BucketBucketVersioningConfigurationBuilder
impl Clone for AwsS3BucketBucketVersioningConfigurationBuilder
source§fn clone(&self) -> AwsS3BucketBucketVersioningConfigurationBuilder
fn clone(&self) -> AwsS3BucketBucketVersioningConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsS3BucketBucketVersioningConfigurationBuilder
impl Default for AwsS3BucketBucketVersioningConfigurationBuilder
source§fn default() -> AwsS3BucketBucketVersioningConfigurationBuilder
fn default() -> AwsS3BucketBucketVersioningConfigurationBuilder
source§impl PartialEq for AwsS3BucketBucketVersioningConfigurationBuilder
impl PartialEq for AwsS3BucketBucketVersioningConfigurationBuilder
source§fn eq(&self, other: &AwsS3BucketBucketVersioningConfigurationBuilder) -> bool
fn eq(&self, other: &AwsS3BucketBucketVersioningConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsS3BucketBucketVersioningConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketBucketVersioningConfigurationBuilder
impl RefUnwindSafe for AwsS3BucketBucketVersioningConfigurationBuilder
impl Send for AwsS3BucketBucketVersioningConfigurationBuilder
impl Sync for AwsS3BucketBucketVersioningConfigurationBuilder
impl Unpin for AwsS3BucketBucketVersioningConfigurationBuilder
impl UnwindSafe for AwsS3BucketBucketVersioningConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more