@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCostCategoryDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCostCategoryDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
ListCostCategoryDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
List<CostCategoryReference> |
getCostCategoryReferences()
A reference to a Cost Category that contains enough information to identify the Cost Category.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setCostCategoryReferences(Collection<CostCategoryReference> costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCostCategoryDefinitionsResult |
withCostCategoryReferences(Collection<CostCategoryReference> costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
|
ListCostCategoryDefinitionsResult |
withCostCategoryReferences(CostCategoryReference... costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
|
ListCostCategoryDefinitionsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CostCategoryReference> getCostCategoryReferences()
A reference to a Cost Category that contains enough information to identify the Cost Category.
public void setCostCategoryReferences(Collection<CostCategoryReference> costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
costCategoryReferences
- A reference to a Cost Category that contains enough information to identify the Cost Category.public ListCostCategoryDefinitionsResult withCostCategoryReferences(CostCategoryReference... costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
NOTE: This method appends the values to the existing list (if any). Use
setCostCategoryReferences(java.util.Collection)
or
withCostCategoryReferences(java.util.Collection)
if you want to override the existing values.
costCategoryReferences
- A reference to a Cost Category that contains enough information to identify the Cost Category.public ListCostCategoryDefinitionsResult withCostCategoryReferences(Collection<CostCategoryReference> costCategoryReferences)
A reference to a Cost Category that contains enough information to identify the Cost Category.
costCategoryReferences
- A reference to a Cost Category that contains enough information to identify the Cost Category.public void setNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String getNextToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public ListCostCategoryDefinitionsResult withNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String toString()
toString
in class Object
Object.toString()
public ListCostCategoryDefinitionsResult clone()