@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 organization in Organizations.
Constructor and Description |
---|
AdminAccount() |
Modifier and Type | Method and Description |
---|---|
AdminAccount |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for the account.
|
String |
getStatus()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
|
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 current status of the account as the delegated Amazon Macie administrator account for the organization.
|
String |
toString()
Returns a string representation of this object.
|
AdminAccount |
withAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
AdminAccount |
withStatus(AdminStatus status)
The current status of the account as the delegated Amazon Macie administrator account for the organization.
|
AdminAccount |
withStatus(String status)
The current status of the account as the delegated Amazon Macie administrator account for the organization.
|
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 AdminAccount 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 current status of the account as the delegated Amazon Macie administrator account for the organization.
status
- The current status of the account as the delegated Amazon Macie administrator account for the
organization.AdminStatus
public String getStatus()
The current status of the account as the delegated Amazon Macie administrator account for the organization.
AdminStatus
public AdminAccount withStatus(String status)
The current status of the account as the delegated Amazon Macie administrator account for the organization.
status
- The current status of the account as the delegated Amazon Macie administrator account for the
organization.AdminStatus
public AdminAccount withStatus(AdminStatus status)
The current status of the account as the delegated Amazon Macie administrator account for the organization.
status
- The current status of the account as the delegated Amazon Macie administrator account 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.