@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCostAllocationTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListCostAllocationTagsRequest() |
Modifier and Type | Method and Description |
---|---|
ListCostAllocationTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of objects that are returned for this request.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
String |
getStatus()
The status of cost allocation tag keys that are returned for this request.
|
List<String> |
getTagKeys()
The list of cost allocation tag keys that are returned for this request.
|
String |
getType()
The type of
CostAllocationTag object that are returned for this request. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of objects that are returned for this request.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setStatus(String status)
The status of cost allocation tag keys that are returned for this request.
|
void |
setTagKeys(Collection<String> tagKeys)
The list of cost allocation tag keys that are returned for this request.
|
void |
setType(String type)
The type of
CostAllocationTag object that are returned for this request. |
String |
toString()
Returns a string representation of this object.
|
ListCostAllocationTagsRequest |
withMaxResults(Integer maxResults)
The maximum number of objects that are returned for this request.
|
ListCostAllocationTagsRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListCostAllocationTagsRequest |
withStatus(CostAllocationTagStatus status)
The status of cost allocation tag keys that are returned for this request.
|
ListCostAllocationTagsRequest |
withStatus(String status)
The status of cost allocation tag keys that are returned for this request.
|
ListCostAllocationTagsRequest |
withTagKeys(Collection<String> tagKeys)
The list of cost allocation tag keys that are returned for this request.
|
ListCostAllocationTagsRequest |
withTagKeys(String... tagKeys)
The list of cost allocation tag keys that are returned for this request.
|
ListCostAllocationTagsRequest |
withType(CostAllocationTagType type)
The type of
CostAllocationTag object that are returned for this request. |
ListCostAllocationTagsRequest |
withType(String type)
The type of
CostAllocationTag object that are returned for this request. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStatus(String status)
The status of cost allocation tag keys that are returned for this request.
status
- The status of cost allocation tag keys that are returned for this request.CostAllocationTagStatus
public String getStatus()
The status of cost allocation tag keys that are returned for this request.
CostAllocationTagStatus
public ListCostAllocationTagsRequest withStatus(String status)
The status of cost allocation tag keys that are returned for this request.
status
- The status of cost allocation tag keys that are returned for this request.CostAllocationTagStatus
public ListCostAllocationTagsRequest withStatus(CostAllocationTagStatus status)
The status of cost allocation tag keys that are returned for this request.
status
- The status of cost allocation tag keys that are returned for this request.CostAllocationTagStatus
public List<String> getTagKeys()
The list of cost allocation tag keys that are returned for this request.
public void setTagKeys(Collection<String> tagKeys)
The list of cost allocation tag keys that are returned for this request.
tagKeys
- The list of cost allocation tag keys that are returned for this request.public ListCostAllocationTagsRequest withTagKeys(String... tagKeys)
The list of cost allocation tag keys that are returned for this request.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeys(java.util.Collection)
or withTagKeys(java.util.Collection)
if you want to override
the existing values.
tagKeys
- The list of cost allocation tag keys that are returned for this request.public ListCostAllocationTagsRequest withTagKeys(Collection<String> tagKeys)
The list of cost allocation tag keys that are returned for this request.
tagKeys
- The list of cost allocation tag keys that are returned for this request.public void setType(String type)
The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. The UserDefined
type tags are tags that you define,
create, and apply to resources.
type
- The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. The UserDefined
type tags are
tags that you define, create, and apply to resources.CostAllocationTagType
public String getType()
The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. The UserDefined
type tags are tags that you define,
create, and apply to resources.
CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. The UserDefined
type tags are
tags that you define, create, and apply to resources.CostAllocationTagType
public ListCostAllocationTagsRequest withType(String type)
The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. The UserDefined
type tags are tags that you define,
create, and apply to resources.
type
- The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. The UserDefined
type tags are
tags that you define, create, and apply to resources.CostAllocationTagType
public ListCostAllocationTagsRequest withType(CostAllocationTagType type)
The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support Amazon Web
Services resources for cost allocation purposes. The UserDefined
type tags are tags that you define,
create, and apply to resources.
type
- The type of CostAllocationTag
object that are returned for this request. The
AWSGenerated
type tags are tags that Amazon Web Services defines and applies to support
Amazon Web Services resources for cost allocation purposes. The UserDefined
type tags are
tags that you define, create, and apply to resources.CostAllocationTagType
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 ListCostAllocationTagsRequest 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 void setMaxResults(Integer maxResults)
The maximum number of objects that are returned for this request. By default, the request returns 100 results.
maxResults
- The maximum number of objects that are returned for this request. By default, the request returns 100
results.public Integer getMaxResults()
The maximum number of objects that are returned for this request. By default, the request returns 100 results.
public ListCostAllocationTagsRequest withMaxResults(Integer maxResults)
The maximum number of objects that are returned for this request. By default, the request returns 100 results.
maxResults
- The maximum number of objects that are returned for this request. By default, the request returns 100
results.public String toString()
toString
in class Object
Object.toString()
public ListCostAllocationTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()