@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 limit, Amazon Web Services returns a
NextPageToken value in the response.
|
Integer |
getReturnSize()
The number of objects 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 limit, Amazon Web Services returns a
NextPageToken value in the response.
|
void |
setReturnSize(Integer returnSize)
The number of objects 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 limit, Amazon Web Services returns a
NextPageToken value in the response.
|
GetCostCategoriesResult |
withReturnSize(Integer returnSize)
The number of objects 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 limit, 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 limit, 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 limit, 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 limit, 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 limit, 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.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
public void setCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
costCategoryValues
- The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
public GetCostCategoriesResult withCostCategoryValues(String... costCategoryValues)
The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
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.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
public GetCostCategoriesResult withCostCategoryValues(Collection<String> costCategoryValues)
The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
costCategoryValues
- The Cost Category values.
CostCategoryValues
are not returned if CostCategoryName
is not specified in the
request.
public void setReturnSize(Integer returnSize)
The number of objects returned.
returnSize
- The number of objects returned.public Integer getReturnSize()
The number of objects returned.
public GetCostCategoriesResult withReturnSize(Integer returnSize)
The number of objects returned.
returnSize
- The number of objects 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()