@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminAccount extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the delegated Amazon Macie administrator account for an AWS organization.
| Constructor and Description |
|---|
AdminAccount() |
| Modifier and Type | Method and Description |
|---|---|
AdminAccount |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID for the account.
|
String |
getStatus()
The current status of the account as the delegated administrator of Amazon Macie for the organization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The AWS account ID for the account.
|
void |
setStatus(String status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
|
String |
toString()
Returns a string representation of this object.
|
AdminAccount |
withAccountId(String accountId)
The AWS account ID for the account.
|
AdminAccount |
withStatus(AdminStatus status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
|
AdminAccount |
withStatus(String status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
|
public void setAccountId(String accountId)
The AWS account ID for the account.
accountId - The AWS account ID for the account.public String getAccountId()
The AWS account ID for the account.
public AdminAccount withAccountId(String accountId)
The AWS account ID for the account.
accountId - The AWS account ID for the account.public void setStatus(String status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
status - The current status of the account as the delegated administrator of Amazon Macie for the organization.AdminStatuspublic String getStatus()
The current status of the account as the delegated administrator of Amazon Macie for the organization.
AdminStatuspublic AdminAccount withStatus(String status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
status - The current status of the account as the delegated administrator of Amazon Macie for the organization.AdminStatuspublic AdminAccount withStatus(AdminStatus status)
The current status of the account as the delegated administrator of Amazon Macie for the organization.
status - The current status of the account as the delegated administrator of Amazon Macie for the organization.AdminStatuspublic String toString()
toString in class ObjectObject.toString()public AdminAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.