Struct aws_sdk_macie2::operation::update_automated_discovery_configuration::builders::UpdateAutomatedDiscoveryConfigurationFluentBuilder
source · pub struct UpdateAutomatedDiscoveryConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateAutomatedDiscoveryConfiguration.
Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
Implementations§
source§impl UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl UpdateAutomatedDiscoveryConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAutomatedDiscoveryConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateAutomatedDiscoveryConfigurationInputBuilder
Access the UpdateAutomatedDiscoveryConfiguration as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateAutomatedDiscoveryConfigurationOutput, UpdateAutomatedDiscoveryConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateAutomatedDiscoveryConfigurationOutput, UpdateAutomatedDiscoveryConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl Clone for UpdateAutomatedDiscoveryConfigurationFluentBuilder
source§fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationFluentBuilder
fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl Send for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl Sync for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl Unpin for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl !UnwindSafe for UpdateAutomatedDiscoveryConfigurationFluentBuilder
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