@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)
Marshalls this structured data using the given
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.AdminStatus
public String getStatus()
The current status of the account as the delegated administrator of Amazon Macie for the organization.
AdminStatus
public 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.AdminStatus
public 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.AdminStatus
public String toString()
toString
in class Object
Object.toString()
public AdminAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.