#[non_exhaustive]pub struct DefaultServerSideEncryptionBuilder { /* private fields */ }Expand description
A builder for DefaultServerSideEncryption.
Implementations§
source§impl DefaultServerSideEncryptionBuilder
impl DefaultServerSideEncryptionBuilder
sourcepub fn encryption_type(self, input: impl Into<String>) -> Self
pub fn encryption_type(self, input: impl Into<String>) -> Self
The type of encryption used for objects within the S3 bucket.
sourcepub fn set_encryption_type(self, input: Option<String>) -> Self
pub fn set_encryption_type(self, input: Option<String>) -> Self
The type of encryption used for objects within the S3 bucket.
sourcepub fn get_encryption_type(&self) -> &Option<String>
pub fn get_encryption_type(&self) -> &Option<String>
The type of encryption used for objects within the S3 bucket.
sourcepub fn kms_master_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_master_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
sourcepub fn set_kms_master_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_master_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
sourcepub fn get_kms_master_key_arn(&self) -> &Option<String>
pub fn get_kms_master_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
sourcepub fn build(self) -> DefaultServerSideEncryption
pub fn build(self) -> DefaultServerSideEncryption
Consumes the builder and constructs a DefaultServerSideEncryption.
Trait Implementations§
source§impl Clone for DefaultServerSideEncryptionBuilder
impl Clone for DefaultServerSideEncryptionBuilder
source§fn clone(&self) -> DefaultServerSideEncryptionBuilder
fn clone(&self) -> DefaultServerSideEncryptionBuilder
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 DefaultServerSideEncryptionBuilder
impl Default for DefaultServerSideEncryptionBuilder
source§fn default() -> DefaultServerSideEncryptionBuilder
fn default() -> DefaultServerSideEncryptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DefaultServerSideEncryptionBuilder
impl PartialEq for DefaultServerSideEncryptionBuilder
source§fn eq(&self, other: &DefaultServerSideEncryptionBuilder) -> bool
fn eq(&self, other: &DefaultServerSideEncryptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DefaultServerSideEncryptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DefaultServerSideEncryptionBuilder
impl Send for DefaultServerSideEncryptionBuilder
impl Sync for DefaultServerSideEncryptionBuilder
impl Unpin for DefaultServerSideEncryptionBuilder
impl UnwindSafe for DefaultServerSideEncryptionBuilder
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.