@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAccount extends Object implements Serializable, Cloneable, StructuredPojo
The wrapper of account details, such as account ID, email address, and so on.
Constructor and Description |
---|
AWSAccount() |
Modifier and Type | Method and Description |
---|---|
AWSAccount |
clone() |
boolean |
equals(Object obj) |
String |
getEmailAddress()
The email address associated with the specified account.
|
String |
getId()
The identifier for the specified account.
|
String |
getName()
The name of the specified account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmailAddress(String emailAddress)
The email address associated with the specified account.
|
void |
setId(String id)
The identifier for the specified account.
|
void |
setName(String name)
The name of the specified account.
|
String |
toString()
Returns a string representation of this object.
|
AWSAccount |
withEmailAddress(String emailAddress)
The email address associated with the specified account.
|
AWSAccount |
withId(String id)
The identifier for the specified account.
|
AWSAccount |
withName(String name)
The name of the specified account.
|
public void setId(String id)
The identifier for the specified account.
id
- The identifier for the specified account.public String getId()
The identifier for the specified account.
public AWSAccount withId(String id)
The identifier for the specified account.
id
- The identifier for the specified account.public void setEmailAddress(String emailAddress)
The email address associated with the specified account.
emailAddress
- The email address associated with the specified account.public String getEmailAddress()
The email address associated with the specified account.
public AWSAccount withEmailAddress(String emailAddress)
The email address associated with the specified account.
emailAddress
- The email address associated with the specified account.public void setName(String name)
The name of the specified account.
name
- The name of the specified account.public String getName()
The name of the specified account.
public AWSAccount withName(String name)
The name of the specified account.
name
- The name of the specified account.public String toString()
toString
in class Object
Object.toString()
public AWSAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.