@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAdministratorAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAdministratorAccountResult() |
Modifier and Type | Method and Description |
---|---|
GetAdministratorAccountResult |
clone() |
boolean |
equals(Object obj) |
Invitation |
getAdministrator()
The Amazon Web Services account ID for the administrator account.
|
int |
hashCode() |
void |
setAdministrator(Invitation administrator)
The Amazon Web Services account ID for the administrator account.
|
String |
toString()
Returns a string representation of this object.
|
GetAdministratorAccountResult |
withAdministrator(Invitation administrator)
The Amazon Web Services account ID for the administrator account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAdministrator(Invitation administrator)
The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
administrator
- The Amazon Web Services account ID for the administrator account. If the accounts are associated by an
Amazon Macie membership invitation, this object also provides details about the invitation that was sent
to establish the relationship between the accounts.public Invitation getAdministrator()
The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
public GetAdministratorAccountResult withAdministrator(Invitation administrator)
The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
administrator
- The Amazon Web Services account ID for the administrator account. If the accounts are associated by an
Amazon Macie membership invitation, this object also provides details about the invitation that was sent
to establish the relationship between the accounts.public String toString()
toString
in class Object
Object.toString()
public GetAdministratorAccountResult clone()