Struct aws_sdk_dlm::types::builders::EncryptionConfigurationBuilder
source · #[non_exhaustive]pub struct EncryptionConfigurationBuilder { /* private fields */ }
Expand description
A builder for EncryptionConfiguration
.
Implementations§
source§impl EncryptionConfigurationBuilder
impl EncryptionConfigurationBuilder
sourcepub fn encrypted(self, input: bool) -> Self
pub fn encrypted(self, input: bool) -> Self
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
This field is required.sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
sourcepub fn get_encrypted(&self) -> &Option<bool>
pub fn get_encrypted(&self) -> &Option<bool>
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
sourcepub fn cmk_arn(self, input: impl Into<String>) -> Self
pub fn cmk_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
sourcepub fn set_cmk_arn(self, input: Option<String>) -> Self
pub fn set_cmk_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
sourcepub fn get_cmk_arn(&self) -> &Option<String>
pub fn get_cmk_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
sourcepub fn build(self) -> EncryptionConfiguration
pub fn build(self) -> EncryptionConfiguration
Consumes the builder and constructs a EncryptionConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionConfigurationBuilder
impl Clone for EncryptionConfigurationBuilder
source§fn clone(&self) -> EncryptionConfigurationBuilder
fn clone(&self) -> EncryptionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EncryptionConfigurationBuilder
impl Default for EncryptionConfigurationBuilder
source§fn default() -> EncryptionConfigurationBuilder
fn default() -> EncryptionConfigurationBuilder
source§impl PartialEq for EncryptionConfigurationBuilder
impl PartialEq for EncryptionConfigurationBuilder
source§fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
fn eq(&self, other: &EncryptionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EncryptionConfigurationBuilder
impl RefUnwindSafe for EncryptionConfigurationBuilder
impl Send for EncryptionConfigurationBuilder
impl Sync for EncryptionConfigurationBuilder
impl Unpin for EncryptionConfigurationBuilder
impl UnwindSafe for EncryptionConfigurationBuilder
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> 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