@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about your AWS account.
Constructor and Description |
---|
AccountInfo() |
Modifier and Type | Method and Description |
---|---|
AccountInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The identifier of the AWS account that is assigned to the user.
|
String |
getAccountName()
The display name of the AWS account that is assigned to the user.
|
String |
getEmailAddress()
The email address of the AWS account that is assigned to the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The identifier of the AWS account that is assigned to the user.
|
void |
setAccountName(String accountName)
The display name of the AWS account that is assigned to the user.
|
void |
setEmailAddress(String emailAddress)
The email address of the AWS account that is assigned to the user.
|
String |
toString()
Returns a string representation of this object.
|
AccountInfo |
withAccountId(String accountId)
The identifier of the AWS account that is assigned to the user.
|
AccountInfo |
withAccountName(String accountName)
The display name of the AWS account that is assigned to the user.
|
AccountInfo |
withEmailAddress(String emailAddress)
The email address of the AWS account that is assigned to the user.
|
public void setAccountId(String accountId)
The identifier of the AWS account that is assigned to the user.
accountId
- The identifier of the AWS account that is assigned to the user.public String getAccountId()
The identifier of the AWS account that is assigned to the user.
public AccountInfo withAccountId(String accountId)
The identifier of the AWS account that is assigned to the user.
accountId
- The identifier of the AWS account that is assigned to the user.public void setAccountName(String accountName)
The display name of the AWS account that is assigned to the user.
accountName
- The display name of the AWS account that is assigned to the user.public String getAccountName()
The display name of the AWS account that is assigned to the user.
public AccountInfo withAccountName(String accountName)
The display name of the AWS account that is assigned to the user.
accountName
- The display name of the AWS account that is assigned to the user.public void setEmailAddress(String emailAddress)
The email address of the AWS account that is assigned to the user.
emailAddress
- The email address of the AWS account that is assigned to the user.public String getEmailAddress()
The email address of the AWS account that is assigned to the user.
public AccountInfo withEmailAddress(String emailAddress)
The email address of the AWS account that is assigned to the user.
emailAddress
- The email address of the AWS account that is assigned to the user.public String toString()
toString
in class Object
Object.toString()
public AccountInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.