#[non_exhaustive]pub struct AwsXrayEncryptionConfigDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsXrayEncryptionConfigDetails
.
Implementations§
source§impl AwsXrayEncryptionConfigDetailsBuilder
impl AwsXrayEncryptionConfigDetailsBuilder
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The identifier of the KMS key that is used for encryption. Provided if Type
is KMS
.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current status of the encryption configuration. Valid values are ACTIVE
or UPDATING
.
When Status
is equal to UPDATING
, X-Ray might use both the old and new encryption.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of encryption. KMS
indicates that the encryption uses KMS keys. NONE
indicates the default encryption.
sourcepub fn build(self) -> AwsXrayEncryptionConfigDetails
pub fn build(self) -> AwsXrayEncryptionConfigDetails
Consumes the builder and constructs a AwsXrayEncryptionConfigDetails
.
Trait Implementations§
source§impl Clone for AwsXrayEncryptionConfigDetailsBuilder
impl Clone for AwsXrayEncryptionConfigDetailsBuilder
source§fn clone(&self) -> AwsXrayEncryptionConfigDetailsBuilder
fn clone(&self) -> AwsXrayEncryptionConfigDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsXrayEncryptionConfigDetailsBuilder
impl Default for AwsXrayEncryptionConfigDetailsBuilder
source§fn default() -> AwsXrayEncryptionConfigDetailsBuilder
fn default() -> AwsXrayEncryptionConfigDetailsBuilder
source§impl PartialEq for AwsXrayEncryptionConfigDetailsBuilder
impl PartialEq for AwsXrayEncryptionConfigDetailsBuilder
source§fn eq(&self, other: &AwsXrayEncryptionConfigDetailsBuilder) -> bool
fn eq(&self, other: &AwsXrayEncryptionConfigDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsXrayEncryptionConfigDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsXrayEncryptionConfigDetailsBuilder
impl RefUnwindSafe for AwsXrayEncryptionConfigDetailsBuilder
impl Send for AwsXrayEncryptionConfigDetailsBuilder
impl Sync for AwsXrayEncryptionConfigDetailsBuilder
impl Unpin for AwsXrayEncryptionConfigDetailsBuilder
impl UnwindSafe for AwsXrayEncryptionConfigDetailsBuilder
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