@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCostAllocationTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCostAllocationTagsResult() |
Modifier and Type | Method and Description |
---|---|
ListCostAllocationTagsResult |
clone() |
boolean |
equals(Object obj) |
List<CostAllocationTag> |
getCostAllocationTags()
A list of cost allocation tags that includes the detailed metadata for each one.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setCostAllocationTags(Collection<CostAllocationTag> costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCostAllocationTagsResult |
withCostAllocationTags(Collection<CostAllocationTag> costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
|
ListCostAllocationTagsResult |
withCostAllocationTags(CostAllocationTag... costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
|
ListCostAllocationTagsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CostAllocationTag> getCostAllocationTags()
A list of cost allocation tags that includes the detailed metadata for each one.
public void setCostAllocationTags(Collection<CostAllocationTag> costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for each one.public ListCostAllocationTagsResult withCostAllocationTags(CostAllocationTag... costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
NOTE: This method appends the values to the existing list (if any). Use
setCostAllocationTags(java.util.Collection)
or withCostAllocationTags(java.util.Collection)
if
you want to override the existing values.
costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for each one.public ListCostAllocationTagsResult withCostAllocationTags(Collection<CostAllocationTag> costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
costAllocationTags
- A list of cost allocation tags that includes the detailed metadata for each one.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 ListCostAllocationTagsResult 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 ListCostAllocationTagsResult clone()