@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountDetail extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the details of an account to associate with an Amazon Macie administrator account.
| Constructor and Description |
|---|
AccountDetail() |
| Modifier and Type | Method and Description |
|---|---|
AccountDetail |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for the account.
|
String |
getEmail()
The email address for the account.
|
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 |
setEmail(String email)
The email address for the account.
|
String |
toString()
Returns a string representation of this object.
|
AccountDetail |
withAccountId(String accountId)
The Amazon Web Services account ID for the account.
|
AccountDetail |
withEmail(String email)
The email address for the account.
|
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 AccountDetail withAccountId(String accountId)
The Amazon Web Services account ID for the account.
accountId - The Amazon Web Services account ID for the account.public void setEmail(String email)
The email address for the account.
email - The email address for the account.public String getEmail()
The email address for the account.
public AccountDetail withEmail(String email)
The email address for the account.
email - The email address for the account.public String toString()
toString in class ObjectObject.toString()public AccountDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.