@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostCategoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCostCategoriesResult() |
Modifier and Type | Method and Description |
---|---|
GetCostCategoriesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCostCategoryNames()
The names of the Cost Categories.
|
List<String> |
getCostCategoryValues()
The Cost Category values.
|
String |
getNextPageToken()
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a
NextPageToken value in the response.
|
Integer |
getReturnSize()
The number of objects that are returned.
|
Integer |
getTotalSize()
The total number of objects.
|
int |
hashCode() |
void |
setCostCategoryNames(Collection<String> costCategoryNames)
The names of the Cost Categories.
|
void |
setCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
|
void |
setNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a
NextPageToken value in the response.
|
void |
setReturnSize(Integer returnSize)
The number of objects that are returned.
|
void |
setTotalSize(Integer totalSize)
The total number of objects.
|
String |
toString()
Returns a string representation of this object.
|
GetCostCategoriesResult |
withCostCategoryNames(Collection<String> costCategoryNames)
The names of the Cost Categories.
|
GetCostCategoriesResult |
withCostCategoryNames(String... costCategoryNames)
The names of the Cost Categories.
|
GetCostCategoriesResult |
withCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
|
GetCostCategoriesResult |
withCostCategoryValues(String... costCategoryValues)
The Cost Category values.
|
GetCostCategoriesResult |
withNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a
NextPageToken value in the response.
|
GetCostCategoriesResult |
withReturnSize(Integer returnSize)
The number of objects that are returned.
|
GetCostCategoriesResult |
withTotalSize(Integer totalSize)
The total number of objects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
nextPageToken
- If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services
returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker
from the prior call in your next request.public String getNextPageToken()
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
public GetCostCategoriesResult withNextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
nextPageToken
- If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services
returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker
from the prior call in your next request.public List<String> getCostCategoryNames()
The names of the Cost Categories.
public void setCostCategoryNames(Collection<String> costCategoryNames)
The names of the Cost Categories.
costCategoryNames
- The names of the Cost Categories.public GetCostCategoriesResult withCostCategoryNames(String... costCategoryNames)
The names of the Cost Categories.
NOTE: This method appends the values to the existing list (if any). Use
setCostCategoryNames(java.util.Collection)
or withCostCategoryNames(java.util.Collection)
if
you want to override the existing values.
costCategoryNames
- The names of the Cost Categories.public GetCostCategoriesResult withCostCategoryNames(Collection<String> costCategoryNames)
The names of the Cost Categories.
costCategoryNames
- The names of the Cost Categories.public List<String> getCostCategoryValues()
The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the CostCategoryValues
fields aren't returned.
If the CostCategoryName
key isn't specified in the request, the
CostCategoryValues
fields aren't returned.
public void setCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the CostCategoryValues
fields aren't returned.
costCategoryValues
- The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the
CostCategoryValues
fields aren't returned.
public GetCostCategoriesResult withCostCategoryValues(String... costCategoryValues)
The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the CostCategoryValues
fields aren't returned.
NOTE: This method appends the values to the existing list (if any). Use
setCostCategoryValues(java.util.Collection)
or withCostCategoryValues(java.util.Collection)
if
you want to override the existing values.
costCategoryValues
- The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the
CostCategoryValues
fields aren't returned.
public GetCostCategoriesResult withCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the CostCategoryValues
fields aren't returned.
costCategoryValues
- The Cost Category values.
If the CostCategoryName
key isn't specified in the request, the
CostCategoryValues
fields aren't returned.
public void setReturnSize(Integer returnSize)
The number of objects that are returned.
returnSize
- The number of objects that are returned.public Integer getReturnSize()
The number of objects that are returned.
public GetCostCategoriesResult withReturnSize(Integer returnSize)
The number of objects that are returned.
returnSize
- The number of objects that are returned.public void setTotalSize(Integer totalSize)
The total number of objects.
totalSize
- The total number of objects.public Integer getTotalSize()
The total number of objects.
public GetCostCategoriesResult withTotalSize(Integer totalSize)
The total number of objects.
totalSize
- The total number of objects.public String toString()
toString
in class Object
Object.toString()
public GetCostCategoriesResult clone()