@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<DimensionValuesWithAttributes> |
getDimensionValueAttributes()
The attributes that apply to a specific dimension value.
|
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's covered by the results in the response.
|
int |
hashCode() |
void |
setDimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
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's covered by the results in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetCostAndUsageWithResourcesResult |
withDimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
GetCostAndUsageWithResourcesResult |
withDimensionValueAttributes(DimensionValuesWithAttributes... dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
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's covered by the results in the response.
|
GetCostAndUsageWithResourcesResult |
withResultsByTime(ResultByTime... resultsByTime)
The time period that's 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. Amazon Web Services 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. Amazon Web Services 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. Amazon Web Services 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. Amazon Web Services 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. Amazon Web Services 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's covered by the results in the response.
public void setResultsByTime(Collection<ResultByTime> resultsByTime)
The time period that's covered by the results in the response.
resultsByTime
- The time period that's covered by the results in the response.public GetCostAndUsageWithResourcesResult withResultsByTime(ResultByTime... resultsByTime)
The time period that's 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's covered by the results in the response.public GetCostAndUsageWithResourcesResult withResultsByTime(Collection<ResultByTime> resultsByTime)
The time period that's covered by the results in the response.
resultsByTime
- The time period that's covered by the results in the response.public List<DimensionValuesWithAttributes> getDimensionValueAttributes()
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
public void setDimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
dimensionValueAttributes
- The attributes that apply to a specific dimension value. For example, if the value is a linked account,
the attribute is that account name.public GetCostAndUsageWithResourcesResult withDimensionValueAttributes(DimensionValuesWithAttributes... dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionValueAttributes(java.util.Collection)
or
withDimensionValueAttributes(java.util.Collection)
if you want to override the existing values.
dimensionValueAttributes
- The attributes that apply to a specific dimension value. For example, if the value is a linked account,
the attribute is that account name.public GetCostAndUsageWithResourcesResult withDimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
dimensionValueAttributes
- The attributes that apply to a specific dimension value. For example, if the value is a linked account,
the attribute is that account name.public String toString()
toString
in class Object
Object.toString()
public GetCostAndUsageWithResourcesResult clone()