Class UpdateAutomatedDiscoveryConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.macie2.model.Macie2Request
-
- software.amazon.awssdk.services.macie2.model.UpdateAutomatedDiscoveryConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAutomatedDiscoveryConfigurationRequest.Builder,UpdateAutomatedDiscoveryConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAutomatedDiscoveryConfigurationRequest extends Macie2Request implements ToCopyableBuilder<UpdateAutomatedDiscoveryConfigurationRequest.Builder,UpdateAutomatedDiscoveryConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAutomatedDiscoveryConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoEnableModeautoEnableOrganizationMembers()Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization.StringautoEnableOrganizationMembersAsString()Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization.static UpdateAutomatedDiscoveryConfigurationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateAutomatedDiscoveryConfigurationRequest.Builder>serializableBuilderClass()AutomatedDiscoveryStatusstatus()The new status of automated sensitive data discovery for the organization or account.StringstatusAsString()The new status of automated sensitive data discovery for the organization or account.UpdateAutomatedDiscoveryConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
autoEnableOrganizationMembers
public final AutoEnableMode autoEnableOrganizationMembers()
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.
If the service returns an enum value that is not available in the current SDK version,
autoEnableOrganizationMemberswill returnAutoEnableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoEnableOrganizationMembersAsString().- Returns:
- 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.
- See Also:
AutoEnableMode
-
autoEnableOrganizationMembersAsString
public final String autoEnableOrganizationMembersAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
autoEnableOrganizationMemberswill returnAutoEnableMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoEnableOrganizationMembersAsString().- Returns:
- 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.
- See Also:
AutoEnableMode
-
status
public final AutomatedDiscoveryStatus status()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutomatedDiscoveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
AutomatedDiscoveryStatus
-
statusAsString
public final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutomatedDiscoveryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
AutomatedDiscoveryStatus
-
toBuilder
public UpdateAutomatedDiscoveryConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAutomatedDiscoveryConfigurationRequest.Builder,UpdateAutomatedDiscoveryConfigurationRequest>- Specified by:
toBuilderin classMacie2Request
-
builder
public static UpdateAutomatedDiscoveryConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAutomatedDiscoveryConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-