Struct aws_sdk_macie2::types::builders::RevealConfigurationBuilder
source · #[non_exhaustive]pub struct RevealConfigurationBuilder { /* private fields */ }
Expand description
A builder for RevealConfiguration
.
Implementations§
source§impl RevealConfigurationBuilder
impl RevealConfigurationBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that's retrieved. The key must be an existing, customer managed, symmetric encryption key that's in the same Amazon Web Services Region as the Amazon Macie account.
If this value specifies an alias, it must include the following prefix: alias/. If this value specifies a key that's owned by another Amazon Web Services account, it must specify the ARN of the key or the ARN of the key's alias.
sourcepub fn status(self, input: RevealStatus) -> Self
pub fn status(self, input: RevealStatus) -> Self
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
sourcepub fn set_status(self, input: Option<RevealStatus>) -> Self
pub fn set_status(self, input: Option<RevealStatus>) -> Self
The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.
sourcepub fn build(self) -> RevealConfiguration
pub fn build(self) -> RevealConfiguration
Consumes the builder and constructs a RevealConfiguration
.
Trait Implementations§
source§impl Clone for RevealConfigurationBuilder
impl Clone for RevealConfigurationBuilder
source§fn clone(&self) -> RevealConfigurationBuilder
fn clone(&self) -> RevealConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RevealConfigurationBuilder
impl Debug for RevealConfigurationBuilder
source§impl Default for RevealConfigurationBuilder
impl Default for RevealConfigurationBuilder
source§fn default() -> RevealConfigurationBuilder
fn default() -> RevealConfigurationBuilder
source§impl PartialEq<RevealConfigurationBuilder> for RevealConfigurationBuilder
impl PartialEq<RevealConfigurationBuilder> for RevealConfigurationBuilder
source§fn eq(&self, other: &RevealConfigurationBuilder) -> bool
fn eq(&self, other: &RevealConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.