Struct aws_sdk_macie2::operation::update_macie_session::builders::UpdateMacieSessionInputBuilder
source · #[non_exhaustive]pub struct UpdateMacieSessionInputBuilder { /* private fields */ }Expand description
A builder for UpdateMacieSessionInput.
Implementations§
source§impl UpdateMacieSessionInputBuilder
impl UpdateMacieSessionInputBuilder
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 a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
sourcepub fn set_status(self, input: Option<MacieStatus>) -> Self
pub fn set_status(self, input: Option<MacieStatus>) -> Self
Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
sourcepub fn get_status(&self) -> &Option<MacieStatus>
pub fn get_status(&self) -> &Option<MacieStatus>
Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.
sourcepub fn build(self) -> Result<UpdateMacieSessionInput, BuildError>
pub fn build(self) -> Result<UpdateMacieSessionInput, BuildError>
Consumes the builder and constructs a UpdateMacieSessionInput.
source§impl UpdateMacieSessionInputBuilder
impl UpdateMacieSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateMacieSessionOutput, SdkError<UpdateMacieSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateMacieSessionOutput, SdkError<UpdateMacieSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateMacieSessionInputBuilder
impl Clone for UpdateMacieSessionInputBuilder
source§fn clone(&self) -> UpdateMacieSessionInputBuilder
fn clone(&self) -> UpdateMacieSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateMacieSessionInputBuilder
impl Default for UpdateMacieSessionInputBuilder
source§fn default() -> UpdateMacieSessionInputBuilder
fn default() -> UpdateMacieSessionInputBuilder
source§impl PartialEq for UpdateMacieSessionInputBuilder
impl PartialEq for UpdateMacieSessionInputBuilder
source§fn eq(&self, other: &UpdateMacieSessionInputBuilder) -> bool
fn eq(&self, other: &UpdateMacieSessionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateMacieSessionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateMacieSessionInputBuilder
impl RefUnwindSafe for UpdateMacieSessionInputBuilder
impl Send for UpdateMacieSessionInputBuilder
impl Sync for UpdateMacieSessionInputBuilder
impl Unpin for UpdateMacieSessionInputBuilder
impl UnwindSafe for UpdateMacieSessionInputBuilder
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