@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostAndUsageWithResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCostAndUsageWithResourcesResult() |
Modifier and Type | Method and Description |
---|---|
GetCostAndUsageWithResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<GroupDefinition> |
getGroupDefinitions()
The groups that are specified by 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 that is covered by the results in the response.
|
int |
hashCode() |
void |
setGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by 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 that is covered by the results in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetCostAndUsageWithResourcesResult |
withGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by the
Filter or GroupBy parameters in the request. |
GetCostAndUsageWithResourcesResult |
withGroupDefinitions(GroupDefinition... groupDefinitions)
The groups that are specified by the
Filter or GroupBy parameters in the request. |
GetCostAndUsageWithResourcesResult |
withNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
GetCostAndUsageWithResourcesResult |
withResultsByTime(Collection<ResultByTime> resultsByTime)
The time period that is covered by the results in the response.
|
GetCostAndUsageWithResourcesResult |
withResultsByTime(ResultByTime... resultsByTime)
The time period that is 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 GetCostAndUsageWithResourcesResult 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 that are specified by the Filter
or GroupBy
parameters in the request.
Filter
or GroupBy
parameters in the
request.public void setGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by the Filter
or GroupBy
parameters in the request.
groupDefinitions
- The groups that are specified by the Filter
or GroupBy
parameters in the
request.public GetCostAndUsageWithResourcesResult withGroupDefinitions(GroupDefinition... groupDefinitions)
The groups that are specified by 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 that are specified by the Filter
or GroupBy
parameters in the
request.public GetCostAndUsageWithResourcesResult withGroupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by the Filter
or GroupBy
parameters in the request.
groupDefinitions
- The groups that are specified by the Filter
or GroupBy
parameters in the
request.public List<ResultByTime> getResultsByTime()
The time period that is covered by the results in the response.
public void setResultsByTime(Collection<ResultByTime> resultsByTime)
The time period that is covered by the results in the response.
resultsByTime
- The time period that is covered by the results in the response.public GetCostAndUsageWithResourcesResult withResultsByTime(ResultByTime... resultsByTime)
The time period that is 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 that is covered by the results in the response.public GetCostAndUsageWithResourcesResult withResultsByTime(Collection<ResultByTime> resultsByTime)
The time period that is covered by the results in the response.
resultsByTime
- The time period that is covered by the results in the response.public String toString()
toString
in class Object
Object.toString()
public GetCostAndUsageWithResourcesResult clone()