@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTagsForResourceRequest() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceRequest |
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 tags that you want to return in the response to a
ListTagsForResource request. |
String |
getNextToken()
For the first
ListTagsForResource request, omit this value. |
String |
getResourceArn()
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of tags that you want to return in the response to a
ListTagsForResource request. |
void |
setNextToken(String nextToken)
For the first
ListTagsForResource request, omit this value. |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withMaxResults(Integer maxResults)
The maximum number of tags that you want to return in the response to a
ListTagsForResource request. |
ListTagsForResourceRequest |
withNextToken(String nextToken)
For the first
ListTagsForResource request, omit this value. |
ListTagsForResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
|
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 setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
resourceArn
- The Amazon Resource Name (ARN) for the resource that you want to list tags for.public String getResourceArn()
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
public ListTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) for the resource that you want to list tags for.
resourceArn
- The Amazon Resource Name (ARN) for the resource that you want to list tags for.public void setMaxResults(Integer maxResults)
The maximum number of tags that you want to return in the response to a ListTagsForResource
request.
If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.
maxResults
- The maximum number of tags that you want to return in the response to a ListTagsForResource
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.public Integer getMaxResults()
The maximum number of tags that you want to return in the response to a ListTagsForResource
request.
If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.
ListTagsForResource
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.public ListTagsForResourceRequest withMaxResults(Integer maxResults)
The maximum number of tags that you want to return in the response to a ListTagsForResource
request.
If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.
maxResults
- The maximum number of tags that you want to return in the response to a ListTagsForResource
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 tags.public void setNextToken(String nextToken)
For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another ListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value of
NextToken
from the previous response.
nextToken
- For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another
ListTagsForResource
request to get the next group of tags for the resource. In the next
request, specify the value of NextToken
from the previous response.
public String getNextToken()
For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another ListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value of
NextToken
from the previous response.
ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another
ListTagsForResource
request to get the next group of tags for the resource. In the next
request, specify the value of NextToken
from the previous response.
public ListTagsForResourceRequest withNextToken(String nextToken)
For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another ListTagsForResource
request to get the next group of tags for the resource. In the next request, specify the value of
NextToken
from the previous response.
nextToken
- For the first ListTagsForResource
request, omit this value.
If you have more than MaxResults
tags, you can submit another
ListTagsForResource
request to get the next group of tags for the resource. In the next
request, specify the value of NextToken
from the previous response.
public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()