@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomatedDiscoveryAccountUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Changes the status of automated sensitive data discovery for an Amazon Macie account.
| Constructor and Description |
|---|
AutomatedDiscoveryAccountUpdate() |
| Modifier and Type | Method and Description |
|---|---|
AutomatedDiscoveryAccountUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for the account.
|
String |
getStatus()
The new status of automated sensitive data discovery for the account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
void |
setStatus(String status)
The new status of automated sensitive data discovery for the account.
|
String |
toString()
Returns a string representation of this object.
|
AutomatedDiscoveryAccountUpdate |
withAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
AutomatedDiscoveryAccountUpdate |
withStatus(AutomatedDiscoveryAccountStatus status)
The new status of automated sensitive data discovery for the account.
|
AutomatedDiscoveryAccountUpdate |
withStatus(String status)
The new status of automated sensitive data discovery for the account.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID for the account.
accountId - The Amazon Web Services account ID for the account.public String getAccountId()
The Amazon Web Services account ID for the account.
public AutomatedDiscoveryAccountUpdate withAccountId(String accountId)
The Amazon Web Services account ID for the account.
accountId - The Amazon Web Services account ID for the account.public void setStatus(String 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.
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.AutomatedDiscoveryAccountStatuspublic String getStatus()
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.
AutomatedDiscoveryAccountStatuspublic AutomatedDiscoveryAccountUpdate withStatus(String 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.
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.AutomatedDiscoveryAccountStatuspublic AutomatedDiscoveryAccountUpdate withStatus(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.
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.AutomatedDiscoveryAccountStatuspublic String toString()
toString in class ObjectObject.toString()public AutomatedDiscoveryAccountUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.