@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageAccountResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the total of usage based on account IDs.
| Constructor and Description |
|---|
UsageAccountResult() |
| Modifier and Type | Method and Description |
|---|---|
UsageAccountResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Account ID that generated usage.
|
Total |
getTotal()
Represents the total of usage for the Account ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The Account ID that generated usage.
|
void |
setTotal(Total total)
Represents the total of usage for the Account ID.
|
String |
toString()
Returns a string representation of this object.
|
UsageAccountResult |
withAccountId(String accountId)
The Account ID that generated usage.
|
UsageAccountResult |
withTotal(Total total)
Represents the total of usage for the Account ID.
|
public void setAccountId(String accountId)
The Account ID that generated usage.
accountId - The Account ID that generated usage.public String getAccountId()
The Account ID that generated usage.
public UsageAccountResult withAccountId(String accountId)
The Account ID that generated usage.
accountId - The Account ID that generated usage.public void setTotal(Total total)
Represents the total of usage for the Account ID.
total - Represents the total of usage for the Account ID.public Total getTotal()
Represents the total of usage for the Account ID.
public UsageAccountResult withTotal(Total total)
Represents the total of usage for the Account ID.
total - Represents the total of usage for the Account ID.public String toString()
toString in class ObjectObject.toString()public UsageAccountResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.