@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsageTotalsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUsageTotalsResult() |
Modifier and Type | Method and Description |
---|---|
ListUsageTotalsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
|
List<UsageTotal> |
getTotals()
An object with details on the total usage for the requested account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
void |
setTotals(Collection<UsageTotal> totals)
An object with details on the total usage for the requested account.
|
String |
toString()
Returns a string representation of this object.
|
ListUsageTotalsResult |
withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
ListUsageTotalsResult |
withTotals(Collection<UsageTotal> totals)
An object with details on the total usage for the requested account.
|
ListUsageTotalsResult |
withTotals(UsageTotal... totals)
An object with details on the total usage for the requested account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public String getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
public ListUsageTotalsResult withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public List<UsageTotal> getTotals()
An object with details on the total usage for the requested account.
public void setTotals(Collection<UsageTotal> totals)
An object with details on the total usage for the requested account.
totals
- An object with details on the total usage for the requested account.public ListUsageTotalsResult withTotals(UsageTotal... totals)
An object with details on the total usage for the requested account.
NOTE: This method appends the values to the existing list (if any). Use
setTotals(java.util.Collection)
or withTotals(java.util.Collection)
if you want to override the
existing values.
totals
- An object with details on the total usage for the requested account.public ListUsageTotalsResult withTotals(Collection<UsageTotal> totals)
An object with details on the total usage for the requested account.
totals
- An object with details on the total usage for the requested account.public String toString()
toString
in class Object
Object.toString()
public ListUsageTotalsResult clone()