Struct aws_sdk_opensearch::types::EncryptionAtRestOptions
source · #[non_exhaustive]pub struct EncryptionAtRestOptions {
pub enabled: Option<bool>,
pub kms_key_id: Option<String>,
}
Expand description
Specifies whether the domain should encrypt data at rest, and if so, the Key Management Service (KMS) key to use. Can be used only to create a new domain, not update an existing one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
True to enable encryption at rest.
kms_key_id: Option<String>
The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a
.
Implementations§
source§impl EncryptionAtRestOptions
impl EncryptionAtRestOptions
sourcepub fn builder() -> EncryptionAtRestOptionsBuilder
pub fn builder() -> EncryptionAtRestOptionsBuilder
Creates a new builder-style object to manufacture EncryptionAtRestOptions
.
Trait Implementations§
source§impl Clone for EncryptionAtRestOptions
impl Clone for EncryptionAtRestOptions
source§fn clone(&self) -> EncryptionAtRestOptions
fn clone(&self) -> EncryptionAtRestOptions
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 EncryptionAtRestOptions
impl Debug for EncryptionAtRestOptions
source§impl PartialEq for EncryptionAtRestOptions
impl PartialEq for EncryptionAtRestOptions
source§fn eq(&self, other: &EncryptionAtRestOptions) -> bool
fn eq(&self, other: &EncryptionAtRestOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionAtRestOptions
Auto Trait Implementations§
impl RefUnwindSafe for EncryptionAtRestOptions
impl Send for EncryptionAtRestOptions
impl Sync for EncryptionAtRestOptions
impl Unpin for EncryptionAtRestOptions
impl UnwindSafe for EncryptionAtRestOptions
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.