#[non_exhaustive]pub struct EnableMacieInputBuilder { /* private fields */ }
Expand description
A builder for EnableMacieInput
.
Implementations§
source§impl EnableMacieInputBuilder
impl EnableMacieInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
sourcepub fn finding_publishing_frequency(
self,
input: FindingPublishingFrequency
) -> Self
pub fn finding_publishing_frequency( self, input: FindingPublishingFrequency ) -> Self
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
sourcepub fn set_finding_publishing_frequency(
self,
input: Option<FindingPublishingFrequency>
) -> Self
pub fn set_finding_publishing_frequency( self, input: Option<FindingPublishingFrequency> ) -> Self
Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).
sourcepub fn status(self, input: MacieStatus) -> Self
pub fn status(self, input: MacieStatus) -> Self
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
sourcepub fn set_status(self, input: Option<MacieStatus>) -> Self
pub fn set_status(self, input: Option<MacieStatus>) -> Self
Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.
sourcepub fn build(self) -> Result<EnableMacieInput, BuildError>
pub fn build(self) -> Result<EnableMacieInput, BuildError>
Consumes the builder and constructs a EnableMacieInput
.
Trait Implementations§
source§impl Clone for EnableMacieInputBuilder
impl Clone for EnableMacieInputBuilder
source§fn clone(&self) -> EnableMacieInputBuilder
fn clone(&self) -> EnableMacieInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnableMacieInputBuilder
impl Debug for EnableMacieInputBuilder
source§impl Default for EnableMacieInputBuilder
impl Default for EnableMacieInputBuilder
source§fn default() -> EnableMacieInputBuilder
fn default() -> EnableMacieInputBuilder
source§impl PartialEq<EnableMacieInputBuilder> for EnableMacieInputBuilder
impl PartialEq<EnableMacieInputBuilder> for EnableMacieInputBuilder
source§fn eq(&self, other: &EnableMacieInputBuilder) -> bool
fn eq(&self, other: &EnableMacieInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.