#[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 ==
.