@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountDetails extends Object implements Serializable, Cloneable, StructuredPojo
The details of an Amazon Web Services account.
Constructor and Description |
---|
AccountDetails() |
Modifier and Type | Method and Description |
---|---|
AccountDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of an Amazon Web Services account.
|
String |
getEmail()
The email of an Amazon Web Services account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of an Amazon Web Services account.
|
void |
setEmail(String email)
The email of an Amazon Web Services account.
|
String |
toString()
Returns a string representation of this object.
|
AccountDetails |
withAccountId(String accountId)
The ID of an Amazon Web Services account.
|
AccountDetails |
withEmail(String email)
The email of an Amazon Web Services account.
|
public void setAccountId(String accountId)
The ID of an Amazon Web Services account.
accountId
- The ID of an Amazon Web Services account.public String getAccountId()
The ID of an Amazon Web Services account.
public AccountDetails withAccountId(String accountId)
The ID of an Amazon Web Services account.
accountId
- The ID of an Amazon Web Services account.public void setEmail(String email)
The email of an Amazon Web Services account.
email
- The email of an Amazon Web Services account.public String getEmail()
The email of an Amazon Web Services account.
public AccountDetails withEmail(String email)
The email of an Amazon Web Services account.
email
- The email of an Amazon Web Services account.public String toString()
toString
in class Object
Object.toString()
public AccountDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.