Struct aws_sdk_securityhub::types::builders::AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsAmazonMqBrokerEncryptionOptionsDetails
.
Implementations§
source§impl AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The KMS key that’s used to encrypt your data at rest. If not provided, Amazon MQ will use a default KMS key to encrypt your data.
sourcepub fn use_aws_owned_key(self, input: bool) -> Self
pub fn use_aws_owned_key(self, input: bool) -> Self
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value is provided (for example, for RabbitMQ brokers).
sourcepub fn set_use_aws_owned_key(self, input: Option<bool>) -> Self
pub fn set_use_aws_owned_key(self, input: Option<bool>) -> Self
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value is provided (for example, for RabbitMQ brokers).
sourcepub fn get_use_aws_owned_key(&self) -> &Option<bool>
pub fn get_use_aws_owned_key(&self) -> &Option<bool>
Specifies that an KMS key should be used for at-rest encryption. Set to true
by default if no value is provided (for example, for RabbitMQ brokers).
sourcepub fn build(self) -> AwsAmazonMqBrokerEncryptionOptionsDetails
pub fn build(self) -> AwsAmazonMqBrokerEncryptionOptionsDetails
Consumes the builder and constructs a AwsAmazonMqBrokerEncryptionOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl Clone for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
source§fn clone(&self) -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
fn clone(&self) -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl Default for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
source§fn default() -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
fn default() -> AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
source§impl PartialEq for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl PartialEq for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
source§fn eq(&self, other: &AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder) -> bool
fn eq(&self, other: &AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.