@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the specified resource for which to list tags.
|
Integer |
getMaxResults()
The maximum number of results to include in the response.
|
String |
getNextToken()
An optional token returned from a prior request.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the specified resource for which to list tags.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
An optional token returned from a prior request.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsRequest |
withArn(String arn)
The ARN of the specified resource for which to list tags.
|
ListTagsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
ListTagsRequest |
withNextToken(String nextToken)
An optional token returned from a prior request.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setArn(String arn)
The ARN of the specified resource for which to list tags.
arn - The ARN of the specified resource for which to list tags.public String getArn()
The ARN of the specified resource for which to list tags.
public ListTagsRequest withArn(String arn)
The ARN of the specified resource for which to list tags.
arn - The ARN of the specified resource for which to list tags.public void setNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults.
nextToken - An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults.public String getNextToken()
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults.
MaxResults.public ListTagsRequest withNextToken(String nextToken)
An optional token returned from a prior request. Use this token for pagination of results from this action. If
this parameter is specified, the response includes only results beyond the token, up to the value specified by
MaxResults.
nextToken - An optional token returned from a prior request. Use this token for pagination of results from this
action. If this parameter is specified, the response includes only results beyond the token, up to the
value specified by MaxResults.public void setMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.
maxResults - The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.public Integer getMaxResults()
The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.public ListTagsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.
maxResults - The maximum number of results to include in the response. If more results exist than the specified
MaxResults value, a token is included in the response so that the remaining results can be
retrieved.public String toString()
toString in class ObjectObject.toString()public ListTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.