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