Struct aws_sdk_dynamodb::types::builders::SseSpecificationBuilder
source · #[non_exhaustive]pub struct SseSpecificationBuilder { /* private fields */ }
Expand description
A builder for SseSpecification
.
Implementations§
source§impl SseSpecificationBuilder
impl SseSpecificationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to Amazon Web Services owned key.
sourcepub fn sse_type(self, input: SseType) -> Self
pub fn sse_type(self, input: SseType) -> Self
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
sourcepub fn set_sse_type(self, input: Option<SseType>) -> Self
pub fn set_sse_type(self, input: Option<SseType>) -> Self
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
sourcepub fn get_sse_type(&self) -> &Option<SseType>
pub fn get_sse_type(&self) -> &Option<SseType>
Server-side encryption type. The only supported value is:
-
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
sourcepub fn kms_master_key_id(self, input: impl Into<String>) -> Self
pub fn kms_master_key_id(self, input: impl Into<String>) -> Self
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb
.
sourcepub fn set_kms_master_key_id(self, input: Option<String>) -> Self
pub fn set_kms_master_key_id(self, input: Option<String>) -> Self
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb
.
sourcepub fn get_kms_master_key_id(&self) -> &Option<String>
pub fn get_kms_master_key_id(&self) -> &Option<String>
The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb
.
sourcepub fn build(self) -> SseSpecification
pub fn build(self) -> SseSpecification
Consumes the builder and constructs a SseSpecification
.
Trait Implementations§
source§impl Clone for SseSpecificationBuilder
impl Clone for SseSpecificationBuilder
source§fn clone(&self) -> SseSpecificationBuilder
fn clone(&self) -> SseSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SseSpecificationBuilder
impl Debug for SseSpecificationBuilder
source§impl Default for SseSpecificationBuilder
impl Default for SseSpecificationBuilder
source§fn default() -> SseSpecificationBuilder
fn default() -> SseSpecificationBuilder
source§impl PartialEq for SseSpecificationBuilder
impl PartialEq for SseSpecificationBuilder
source§fn eq(&self, other: &SseSpecificationBuilder) -> bool
fn eq(&self, other: &SseSpecificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SseSpecificationBuilder
Auto Trait Implementations§
impl Freeze for SseSpecificationBuilder
impl RefUnwindSafe for SseSpecificationBuilder
impl Send for SseSpecificationBuilder
impl Sync for SseSpecificationBuilder
impl Unpin for SseSpecificationBuilder
impl UnwindSafe for SseSpecificationBuilder
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
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)
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>
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>
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 more