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 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>
Creates a shared type from an unshared type.