Struct aws_sdk_kafka::types::builders::EncryptionAtRestBuilder
source · #[non_exhaustive]pub struct EncryptionAtRestBuilder { /* private fields */ }
Expand description
A builder for EncryptionAtRest
.
Implementations§
source§impl EncryptionAtRestBuilder
impl EncryptionAtRestBuilder
sourcepub fn data_volume_kms_key_id(self, input: impl Into<String>) -> Self
pub fn data_volume_kms_key_id(self, input: impl Into<String>) -> Self
The ARN of the AWS KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
This field is required.sourcepub fn set_data_volume_kms_key_id(self, input: Option<String>) -> Self
pub fn set_data_volume_kms_key_id(self, input: Option<String>) -> Self
The ARN of the AWS KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
sourcepub fn get_data_volume_kms_key_id(&self) -> &Option<String>
pub fn get_data_volume_kms_key_id(&self) -> &Option<String>
The ARN of the AWS KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
sourcepub fn build(self) -> EncryptionAtRest
pub fn build(self) -> EncryptionAtRest
Consumes the builder and constructs a EncryptionAtRest
.
Trait Implementations§
source§impl Clone for EncryptionAtRestBuilder
impl Clone for EncryptionAtRestBuilder
source§fn clone(&self) -> EncryptionAtRestBuilder
fn clone(&self) -> EncryptionAtRestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EncryptionAtRestBuilder
impl Debug for EncryptionAtRestBuilder
source§impl Default for EncryptionAtRestBuilder
impl Default for EncryptionAtRestBuilder
source§fn default() -> EncryptionAtRestBuilder
fn default() -> EncryptionAtRestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EncryptionAtRestBuilder
impl PartialEq for EncryptionAtRestBuilder
source§fn eq(&self, other: &EncryptionAtRestBuilder) -> bool
fn eq(&self, other: &EncryptionAtRestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionAtRestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EncryptionAtRestBuilder
impl Send for EncryptionAtRestBuilder
impl Sync for EncryptionAtRestBuilder
impl Unpin for EncryptionAtRestBuilder
impl UnwindSafe for EncryptionAtRestBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.