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<EncryptionConfigBuilder> for EncryptionConfigBuilder
impl PartialEq<EncryptionConfigBuilder> for EncryptionConfigBuilder
source§fn eq(&self, other: &EncryptionConfigBuilder) -> bool
fn eq(&self, other: &EncryptionConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.