Struct aws_sdk_securityhub::types::builders::AwsS3BucketServerSideEncryptionByDefaultBuilder
source · #[non_exhaustive]pub struct AwsS3BucketServerSideEncryptionByDefaultBuilder { /* private fields */ }Expand description
A builder for AwsS3BucketServerSideEncryptionByDefault.
Implementations§
source§impl AwsS3BucketServerSideEncryptionByDefaultBuilder
impl AwsS3BucketServerSideEncryptionByDefaultBuilder
sourcepub fn sse_algorithm(self, input: impl Into<String>) -> Self
pub fn sse_algorithm(self, input: impl Into<String>) -> Self
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms or AES256.
sourcepub fn set_sse_algorithm(self, input: Option<String>) -> Self
pub fn set_sse_algorithm(self, input: Option<String>) -> Self
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms or AES256.
sourcepub fn get_sse_algorithm(&self) -> &Option<String>
pub fn get_sse_algorithm(&self) -> &Option<String>
Server-side encryption algorithm to use for the default encryption. Valid values are aws: kms or AES256.
sourcepub fn kms_master_key_id(self, input: impl Into<String>) -> Self
pub fn kms_master_key_id(self, input: impl Into<String>) -> Self
KMS key ID to use for the default encryption.
sourcepub fn set_kms_master_key_id(self, input: Option<String>) -> Self
pub fn set_kms_master_key_id(self, input: Option<String>) -> Self
KMS key ID to use for the default encryption.
sourcepub fn get_kms_master_key_id(&self) -> &Option<String>
pub fn get_kms_master_key_id(&self) -> &Option<String>
KMS key ID to use for the default encryption.
sourcepub fn build(self) -> AwsS3BucketServerSideEncryptionByDefault
pub fn build(self) -> AwsS3BucketServerSideEncryptionByDefault
Consumes the builder and constructs a AwsS3BucketServerSideEncryptionByDefault.
Trait Implementations§
source§impl Clone for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl Clone for AwsS3BucketServerSideEncryptionByDefaultBuilder
source§fn clone(&self) -> AwsS3BucketServerSideEncryptionByDefaultBuilder
fn clone(&self) -> AwsS3BucketServerSideEncryptionByDefaultBuilder
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 AwsS3BucketServerSideEncryptionByDefaultBuilder
impl Default for AwsS3BucketServerSideEncryptionByDefaultBuilder
source§fn default() -> AwsS3BucketServerSideEncryptionByDefaultBuilder
fn default() -> AwsS3BucketServerSideEncryptionByDefaultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl PartialEq for AwsS3BucketServerSideEncryptionByDefaultBuilder
source§fn eq(&self, other: &AwsS3BucketServerSideEncryptionByDefaultBuilder) -> bool
fn eq(&self, other: &AwsS3BucketServerSideEncryptionByDefaultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsS3BucketServerSideEncryptionByDefaultBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl RefUnwindSafe for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl Send for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl Sync for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl Unpin for AwsS3BucketServerSideEncryptionByDefaultBuilder
impl UnwindSafe for AwsS3BucketServerSideEncryptionByDefaultBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
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.