Struct aws_sdk_xray::types::builders::EncryptionConfigBuilder
source · #[non_exhaustive]pub struct EncryptionConfigBuilder { /* private fields */ }
Expand description
A builder for EncryptionConfig
.
Implementations§
source§impl EncryptionConfigBuilder
impl EncryptionConfigBuilder
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The ID of the KMS key used for encryption, if applicable.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The ID of the KMS key used for encryption, if applicable.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The ID of the KMS key used for encryption, if applicable.
sourcepub fn status(self, input: EncryptionStatus) -> Self
pub fn status(self, input: EncryptionStatus) -> Self
The encryption status. While the status is UPDATING
, X-Ray may encrypt data with a combination of the new and old settings.
sourcepub fn set_status(self, input: Option<EncryptionStatus>) -> Self
pub fn set_status(self, input: Option<EncryptionStatus>) -> Self
The encryption status. While the status is UPDATING
, X-Ray may encrypt data with a combination of the new and old settings.
sourcepub fn get_status(&self) -> &Option<EncryptionStatus>
pub fn get_status(&self) -> &Option<EncryptionStatus>
The encryption status. While the status is UPDATING
, X-Ray may encrypt data with a combination of the new and old settings.
sourcepub fn type(self, input: EncryptionType) -> Self
pub fn type(self, input: EncryptionType) -> Self
The type of encryption. Set to KMS
for encryption with KMS keys. Set to NONE
for default encryption.
sourcepub fn set_type(self, input: Option<EncryptionType>) -> Self
pub fn set_type(self, input: Option<EncryptionType>) -> Self
The type of encryption. Set to KMS
for encryption with KMS keys. Set to NONE
for default encryption.
sourcepub fn get_type(&self) -> &Option<EncryptionType>
pub fn get_type(&self) -> &Option<EncryptionType>
The type of encryption. Set to KMS
for encryption with KMS keys. Set to NONE
for default encryption.
sourcepub fn build(self) -> EncryptionConfig
pub fn build(self) -> EncryptionConfig
Consumes the builder and constructs a EncryptionConfig
.
Trait Implementations§
source§impl Clone for EncryptionConfigBuilder
impl Clone for EncryptionConfigBuilder
source§fn clone(&self) -> EncryptionConfigBuilder
fn clone(&self) -> EncryptionConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionConfigBuilder
impl Debug for EncryptionConfigBuilder
source§impl Default for EncryptionConfigBuilder
impl Default for EncryptionConfigBuilder
source§fn default() -> EncryptionConfigBuilder
fn default() -> EncryptionConfigBuilder
source§impl PartialEq for EncryptionConfigBuilder
impl PartialEq for EncryptionConfigBuilder
impl StructuralPartialEq for EncryptionConfigBuilder
Auto Trait Implementations§
impl Freeze for EncryptionConfigBuilder
impl RefUnwindSafe for EncryptionConfigBuilder
impl Send for EncryptionConfigBuilder
impl Sync for EncryptionConfigBuilder
impl Unpin for EncryptionConfigBuilder
impl UnwindSafe for EncryptionConfigBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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