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 ==.impl StructuralPartialEq for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl RefUnwindSafe for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl Send for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl Sync for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl Unpin for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
impl UnwindSafe for AwsAmazonMqBrokerEncryptionOptionsDetailsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more