@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Account extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Services account that is the administrator account of or a member of a behavior graph.
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
Account |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account identifier of the Amazon Web Services account.
|
String |
getEmailAddress()
The Amazon Web Services account root user email address for the Amazon Web Services account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account identifier of the Amazon Web Services account.
|
void |
setEmailAddress(String emailAddress)
The Amazon Web Services account root user email address for the Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
Account |
withAccountId(String accountId)
The account identifier of the Amazon Web Services account.
|
Account |
withEmailAddress(String emailAddress)
The Amazon Web Services account root user email address for the Amazon Web Services account.
|
public void setAccountId(String accountId)
The account identifier of the Amazon Web Services account.
accountId
- The account identifier of the Amazon Web Services account.public String getAccountId()
The account identifier of the Amazon Web Services account.
public Account withAccountId(String accountId)
The account identifier of the Amazon Web Services account.
accountId
- The account identifier of the Amazon Web Services account.public void setEmailAddress(String emailAddress)
The Amazon Web Services account root user email address for the Amazon Web Services account.
emailAddress
- The Amazon Web Services account root user email address for the Amazon Web Services account.public String getEmailAddress()
The Amazon Web Services account root user email address for the Amazon Web Services account.
public Account withEmailAddress(String emailAddress)
The Amazon Web Services account root user email address for the Amazon Web Services account.
emailAddress
- The Amazon Web Services account root user email address for the Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.