Struct aws_sdk_macie2::operation::update_automated_discovery_configuration::builders::UpdateAutomatedDiscoveryConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateAutomatedDiscoveryConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateAutomatedDiscoveryConfigurationInput.
Implementations§
source§impl UpdateAutomatedDiscoveryConfigurationInputBuilder
impl UpdateAutomatedDiscoveryConfigurationInputBuilder
sourcepub fn auto_enable_organization_members(self, input: AutoEnableMode) -> Self
pub fn auto_enable_organization_members(self, input: AutoEnableMode) -> Self
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
sourcepub fn set_auto_enable_organization_members(
self,
input: Option<AutoEnableMode>,
) -> Self
pub fn set_auto_enable_organization_members( self, input: Option<AutoEnableMode>, ) -> Self
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
sourcepub fn get_auto_enable_organization_members(&self) -> &Option<AutoEnableMode>
pub fn get_auto_enable_organization_members(&self) -> &Option<AutoEnableMode>
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
sourcepub fn status(self, input: AutomatedDiscoveryStatus) -> Self
pub fn status(self, input: AutomatedDiscoveryStatus) -> Self
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
This field is required.sourcepub fn set_status(self, input: Option<AutomatedDiscoveryStatus>) -> Self
pub fn set_status(self, input: Option<AutomatedDiscoveryStatus>) -> Self
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
sourcepub fn get_status(&self) -> &Option<AutomatedDiscoveryStatus>
pub fn get_status(&self) -> &Option<AutomatedDiscoveryStatus>
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
sourcepub fn build(
self,
) -> Result<UpdateAutomatedDiscoveryConfigurationInput, BuildError>
pub fn build( self, ) -> Result<UpdateAutomatedDiscoveryConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateAutomatedDiscoveryConfigurationInput.
source§impl UpdateAutomatedDiscoveryConfigurationInputBuilder
impl UpdateAutomatedDiscoveryConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl Clone for UpdateAutomatedDiscoveryConfigurationInputBuilder
source§fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationInputBuilder
fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl Default for UpdateAutomatedDiscoveryConfigurationInputBuilder
source§fn default() -> UpdateAutomatedDiscoveryConfigurationInputBuilder
fn default() -> UpdateAutomatedDiscoveryConfigurationInputBuilder
source§impl PartialEq for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl PartialEq for UpdateAutomatedDiscoveryConfigurationInputBuilder
source§fn eq(&self, other: &UpdateAutomatedDiscoveryConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateAutomatedDiscoveryConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAutomatedDiscoveryConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl RefUnwindSafe for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl Send for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl Sync for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl Unpin for UpdateAutomatedDiscoveryConfigurationInputBuilder
impl UnwindSafe for UpdateAutomatedDiscoveryConfigurationInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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