@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsageTotalsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetUsageTotalsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetUsageTotalsResult |
clone() |
boolean |
equals(Object obj) |
List<UsageTotal> |
getUsageTotals()
An array of objects that contains the results of the query.
|
int |
hashCode() |
void |
setUsageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageTotalsResult |
withUsageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query.
|
GetUsageTotalsResult |
withUsageTotals(UsageTotal... usageTotals)
An array of objects that contains the results of the query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<UsageTotal> getUsageTotals()
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
public void setUsageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
usageTotals - An array of objects that contains the results of the query. Each object contains the data for a specific
usage metric.public GetUsageTotalsResult withUsageTotals(UsageTotal... usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
NOTE: This method appends the values to the existing list (if any). Use
setUsageTotals(java.util.Collection) or withUsageTotals(java.util.Collection) if you want to
override the existing values.
usageTotals - An array of objects that contains the results of the query. Each object contains the data for a specific
usage metric.public GetUsageTotalsResult withUsageTotals(Collection<UsageTotal> usageTotals)
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
usageTotals - An array of objects that contains the results of the query. Each object contains the data for a specific
usage metric.public String toString()
toString in class ObjectObject.toString()public GetUsageTotalsResult clone()
Copyright © 2021. All rights reserved.