@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsageStatisticsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetUsageStatisticsResult() |
Modifier and Type | Method and Description |
---|---|
GetUsageStatisticsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
|
UsageStatistics |
getUsageStatistics()
The usage statistics object.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
void |
setUsageStatistics(UsageStatistics usageStatistics)
The usage statistics object.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageStatisticsResult |
withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
GetUsageStatisticsResult |
withUsageStatistics(UsageStatistics usageStatistics)
The usage statistics object.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUsageStatistics(UsageStatistics usageStatistics)
The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.
usageStatistics
- The usage statistics object. If a UsageStatisticType was provided, the objects representing other types
will be null.public UsageStatistics getUsageStatistics()
The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.
public GetUsageStatisticsResult withUsageStatistics(UsageStatistics usageStatistics)
The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.
usageStatistics
- The usage statistics object. If a UsageStatisticType was provided, the objects representing other types
will be null.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 GetUsageStatisticsResult 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 String toString()
toString
in class Object
Object.toString()
public GetUsageStatisticsResult clone()