#[non_exhaustive]pub struct AutomatedDiscoveryAccountUpdate {
pub account_id: Option<String>,
pub status: Option<AutomatedDiscoveryAccountStatus>,
}
Expand description
Changes the status of automated sensitive data discovery for an Amazon Macie account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_id: Option<String>
The Amazon Web Services account ID for the account.
status: Option<AutomatedDiscoveryAccountStatus>
The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.
Implementations§
source§impl AutomatedDiscoveryAccountUpdate
impl AutomatedDiscoveryAccountUpdate
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the account.
sourcepub fn status(&self) -> Option<&AutomatedDiscoveryAccountStatus>
pub fn status(&self) -> Option<&AutomatedDiscoveryAccountStatus>
The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.
source§impl AutomatedDiscoveryAccountUpdate
impl AutomatedDiscoveryAccountUpdate
sourcepub fn builder() -> AutomatedDiscoveryAccountUpdateBuilder
pub fn builder() -> AutomatedDiscoveryAccountUpdateBuilder
Creates a new builder-style object to manufacture AutomatedDiscoveryAccountUpdate
.
Trait Implementations§
source§impl Clone for AutomatedDiscoveryAccountUpdate
impl Clone for AutomatedDiscoveryAccountUpdate
source§fn clone(&self) -> AutomatedDiscoveryAccountUpdate
fn clone(&self) -> AutomatedDiscoveryAccountUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutomatedDiscoveryAccountUpdate
impl PartialEq for AutomatedDiscoveryAccountUpdate
source§fn eq(&self, other: &AutomatedDiscoveryAccountUpdate) -> bool
fn eq(&self, other: &AutomatedDiscoveryAccountUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomatedDiscoveryAccountUpdate
Auto Trait Implementations§
impl Freeze for AutomatedDiscoveryAccountUpdate
impl RefUnwindSafe for AutomatedDiscoveryAccountUpdate
impl Send for AutomatedDiscoveryAccountUpdate
impl Sync for AutomatedDiscoveryAccountUpdate
impl Unpin for AutomatedDiscoveryAccountUpdate
impl UnwindSafe for AutomatedDiscoveryAccountUpdate
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