Struct aws_sdk_securityhub::types::builders::AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
source · #[non_exhaustive]pub struct AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder { /* private fields */ }Expand description
A builder for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails.
Implementations§
source§impl AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
impl AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether encryption at rest is enabled.
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 ID.
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 ID.
sourcepub fn build(self) -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails
pub fn build(self) -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails
Consumes the builder and constructs a AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails.
Trait Implementations§
source§impl Clone for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
impl Clone for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
source§fn clone(
&self
) -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
fn clone( &self ) -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
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 Default for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
impl Default for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
source§fn default() -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
fn default() -> AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder> for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
impl PartialEq<AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder> for AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
source§fn eq(
&self,
other: &AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetailsBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.