@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAccount extends Object implements Serializable, Cloneable, StructuredPojo
The wrapper of AWS 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 AWS account.
|
String |
getId()
The identifier for the specified AWS account.
|
String |
getName()
The name of the specified AWS 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 AWS account.
|
void |
setId(String id)
The identifier for the specified AWS account.
|
void |
setName(String name)
The name of the specified AWS account.
|
String |
toString()
Returns a string representation of this object.
|
AWSAccount |
withEmailAddress(String emailAddress)
The email address associated with the specified AWS account.
|
AWSAccount |
withId(String id)
The identifier for the specified AWS account.
|
AWSAccount |
withName(String name)
The name of the specified AWS account.
|
public void setId(String id)
The identifier for the specified AWS account.
id
- The identifier for the specified AWS account.public String getId()
The identifier for the specified AWS account.
public AWSAccount withId(String id)
The identifier for the specified AWS account.
id
- The identifier for the specified AWS account.public void setEmailAddress(String emailAddress)
The email address associated with the specified AWS account.
emailAddress
- The email address associated with the specified AWS account.public String getEmailAddress()
The email address associated with the specified AWS account.
public AWSAccount withEmailAddress(String emailAddress)
The email address associated with the specified AWS account.
emailAddress
- The email address associated with the specified AWS account.public void setName(String name)
The name of the specified AWS account.
name
- The name of the specified AWS account.public String getName()
The name of the specified AWS account.
public AWSAccount withName(String name)
The name of the specified AWS account.
name
- The name of the specified AWS 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.