pub struct Builder { /* private fields */ }
Expand description
A builder for AwsXrayEncryptionConfigDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> AwsXrayEncryptionConfigDetails
pub fn build(self) -> AwsXrayEncryptionConfigDetails
Consumes the builder and constructs a AwsXrayEncryptionConfigDetails
.