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