Struct aws_sdk_securityhub::model::aws_s3_bucket_server_side_encryption_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsS3BucketServerSideEncryptionConfiguration
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> AwsS3BucketServerSideEncryptionConfiguration
pub fn build(self) -> AwsS3BucketServerSideEncryptionConfiguration
Consumes the builder and constructs a AwsS3BucketServerSideEncryptionConfiguration
.