Struct aws_sdk_securityhub::types::builders::AwsS3BucketServerSideEncryptionConfigurationBuilder
source · #[non_exhaustive]pub struct AwsS3BucketServerSideEncryptionConfigurationBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketServerSideEncryptionConfiguration
.
Implementations§
source§impl AwsS3BucketServerSideEncryptionConfigurationBuilder
impl AwsS3BucketServerSideEncryptionConfigurationBuilder
sourcepub fn rules(self, input: AwsS3BucketServerSideEncryptionRule) -> Self
pub fn rules(self, input: AwsS3BucketServerSideEncryptionRule) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
The encryption rules that are applied to the S3 bucket.
sourcepub fn set_rules(
self,
input: Option<Vec<AwsS3BucketServerSideEncryptionRule>>
) -> Self
pub fn set_rules( self, input: Option<Vec<AwsS3BucketServerSideEncryptionRule>> ) -> Self
The encryption rules that are applied to the S3 bucket.
sourcepub fn get_rules(&self) -> &Option<Vec<AwsS3BucketServerSideEncryptionRule>>
pub fn get_rules(&self) -> &Option<Vec<AwsS3BucketServerSideEncryptionRule>>
The encryption rules that are applied to the S3 bucket.
sourcepub fn build(self) -> AwsS3BucketServerSideEncryptionConfiguration
pub fn build(self) -> AwsS3BucketServerSideEncryptionConfiguration
Consumes the builder and constructs a AwsS3BucketServerSideEncryptionConfiguration
.
Trait Implementations§
source§impl Clone for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl Clone for AwsS3BucketServerSideEncryptionConfigurationBuilder
source§fn clone(&self) -> AwsS3BucketServerSideEncryptionConfigurationBuilder
fn clone(&self) -> AwsS3BucketServerSideEncryptionConfigurationBuilder
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 Default for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl Default for AwsS3BucketServerSideEncryptionConfigurationBuilder
source§fn default() -> AwsS3BucketServerSideEncryptionConfigurationBuilder
fn default() -> AwsS3BucketServerSideEncryptionConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl PartialEq for AwsS3BucketServerSideEncryptionConfigurationBuilder
source§fn eq(
&self,
other: &AwsS3BucketServerSideEncryptionConfigurationBuilder
) -> bool
fn eq( &self, other: &AwsS3BucketServerSideEncryptionConfigurationBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketServerSideEncryptionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl RefUnwindSafe for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl Send for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl Sync for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl Unpin for AwsS3BucketServerSideEncryptionConfigurationBuilder
impl UnwindSafe for AwsS3BucketServerSideEncryptionConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.