Struct aws_sdk_securityhub::model::aws_s3_bucket_server_side_encryption_rule::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for AwsS3BucketServerSideEncryptionRule
Implementations
pub fn apply_server_side_encryption_by_default(
self,
input: AwsS3BucketServerSideEncryptionByDefault
) -> Self
pub fn apply_server_side_encryption_by_default(
self,
input: AwsS3BucketServerSideEncryptionByDefault
) -> Self
Specifies the default server-side encryption to apply to new objects in the bucket. If a
PUT object request doesn't specify any server-side encryption, this default
encryption is applied.
pub fn set_apply_server_side_encryption_by_default(
self,
input: Option<AwsS3BucketServerSideEncryptionByDefault>
) -> Self
pub fn set_apply_server_side_encryption_by_default(
self,
input: Option<AwsS3BucketServerSideEncryptionByDefault>
) -> Self
Specifies the default server-side encryption to apply to new objects in the bucket. If a
PUT object request doesn't specify any server-side encryption, this default
encryption is applied.
Consumes the builder and constructs a AwsS3BucketServerSideEncryptionRule
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
