Struct aws_sdk_xray::model::encryption_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EncryptionConfig
.
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 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 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 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 build(self) -> EncryptionConfig
pub fn build(self) -> EncryptionConfig
Consumes the builder and constructs a EncryptionConfig
.