#[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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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 get_finding_publishing_frequency(
&self,
) -> &Option<FindingPublishingFrequency>
pub fn get_finding_publishing_frequency( &self, ) -> &Option<FindingPublishingFrequency>
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 get_status(&self) -> &Option<MacieStatus>
pub fn get_status(&self) -> &Option<MacieStatus>
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.
source§impl EnableMacieInputBuilder
impl EnableMacieInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<EnableMacieOutput, SdkError<EnableMacieError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<EnableMacieOutput, SdkError<EnableMacieError, HttpResponse>>
Sends a request with this input using the given client.
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 for EnableMacieInputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for EnableMacieInputBuilder
Auto Trait Implementations§
impl Freeze for EnableMacieInputBuilder
impl RefUnwindSafe for EnableMacieInputBuilder
impl Send for EnableMacieInputBuilder
impl Sync for EnableMacieInputBuilder
impl Unpin for EnableMacieInputBuilder
impl UnwindSafe for EnableMacieInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more