Class AutomatedDiscoveryAccountUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.AutomatedDiscoveryAccountUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedDiscoveryAccountUpdate.Builder,AutomatedDiscoveryAccountUpdate>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedDiscoveryAccountUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedDiscoveryAccountUpdate.Builder,AutomatedDiscoveryAccountUpdate>
Changes the status of automated sensitive data discovery for an Amazon Macie account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedDiscoveryAccountUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID for the account.static AutomatedDiscoveryAccountUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AutomatedDiscoveryAccountUpdate.Builder>serializableBuilderClass()AutomatedDiscoveryAccountStatusstatus()The new status of automated sensitive data discovery for the account.StringstatusAsString()The new status of automated sensitive data discovery for the account.AutomatedDiscoveryAccountUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
accountId
public final String accountId()
The Amazon Web Services account ID for the account.
- Returns:
- The Amazon Web Services account ID for the account.
-
status
public final AutomatedDiscoveryAccountStatus status()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutomatedDiscoveryAccountStatus.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 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.
- See Also:
AutomatedDiscoveryAccountStatus
-
statusAsString
public final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutomatedDiscoveryAccountStatus.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 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.
- See Also:
AutomatedDiscoveryAccountStatus
-
toBuilder
public AutomatedDiscoveryAccountUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedDiscoveryAccountUpdate.Builder,AutomatedDiscoveryAccountUpdate>
-
builder
public static AutomatedDiscoveryAccountUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedDiscoveryAccountUpdate.Builder> serializableBuilderClass()
-
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.
-
-