@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostAndUsageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCostAndUsageResult() |
Modifier and Type | Method and Description |
---|---|
GetCostAndUsageResult |
clone() |
boolean |
equals(Object obj) |
List<GroupDefinition> |
getGroupDefinitions()
The groups specified by the the
Filter or GroupBy parameters in the request. |
String |
getNextPageToken()
The token for the next set of retrievable results.
|
List<ResultByTime> |
getResultsByTime()
The time period covered by the results in the response.
|
int |
hashCode() |
void |
setGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups specified by the the
Filter or GroupBy parameters in the request. |
void |
setNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
void |
setResultsByTime(Collection<ResultByTime> resultsByTime)
The time period covered by the results in the response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetCostAndUsageResult |
withGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups specified by the the
Filter or GroupBy parameters in the request. |
GetCostAndUsageResult |
withGroupDefinitions(GroupDefinition... groupDefinitions)
The groups specified by the the
Filter or GroupBy parameters in the request. |
GetCostAndUsageResult |
withNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
GetCostAndUsageResult |
withResultsByTime(Collection<ResultByTime> resultsByTime)
The time period covered by the results in the response.
|
GetCostAndUsageResult |
withResultsByTime(ResultByTime... resultsByTime)
The time period covered by the results in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextPageToken(String nextPageToken)
The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token for the next set of retrievable results. AWS provides the token when the response from a
previous call has more results than the maximum page size.public String getNextPageToken()
The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.
public GetCostAndUsageResult withNextPageToken(String nextPageToken)
The token for the next set of retrievable results. AWS provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token for the next set of retrievable results. AWS provides the token when the response from a
previous call has more results than the maximum page size.public List<GroupDefinition> getGroupDefinitions()
The groups specified by the the Filter
or GroupBy
parameters in the request.
Filter
or GroupBy
parameters in the request.public void setGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups specified by the the Filter
or GroupBy
parameters in the request.
groupDefinitions
- The groups specified by the the Filter
or GroupBy
parameters in the request.public GetCostAndUsageResult withGroupDefinitions(GroupDefinition... groupDefinitions)
The groups specified by the the Filter
or GroupBy
parameters in the request.
NOTE: This method appends the values to the existing list (if any). Use
setGroupDefinitions(java.util.Collection)
or withGroupDefinitions(java.util.Collection)
if you
want to override the existing values.
groupDefinitions
- The groups specified by the the Filter
or GroupBy
parameters in the request.public GetCostAndUsageResult withGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups specified by the the Filter
or GroupBy
parameters in the request.
groupDefinitions
- The groups specified by the the Filter
or GroupBy
parameters in the request.public List<ResultByTime> getResultsByTime()
The time period covered by the results in the response.
public void setResultsByTime(Collection<ResultByTime> resultsByTime)
The time period covered by the results in the response.
resultsByTime
- The time period covered by the results in the response.public GetCostAndUsageResult withResultsByTime(ResultByTime... resultsByTime)
The time period covered by the results in the response.
NOTE: This method appends the values to the existing list (if any). Use
setResultsByTime(java.util.Collection)
or withResultsByTime(java.util.Collection)
if you want
to override the existing values.
resultsByTime
- The time period covered by the results in the response.public GetCostAndUsageResult withResultsByTime(Collection<ResultByTime> resultsByTime)
The time period covered by the results in the response.
resultsByTime
- The time period covered by the results in the response.public String toString()
toString
in class Object
Object.toString()
public GetCostAndUsageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.