@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 results to return in a single call.
|
String |
getNextToken()
The token that was returned from the previous API call, which would be used to return the next page of the list.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource to get tags for.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token that was returned from the previous API call, which would be used to return the next page of the list.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to get tags for.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
ListTagsForResourceRequest |
withNextToken(String nextToken)
The token that was returned from the previous API call, which would be used to return the next page of the list.
|
ListTagsForResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to get 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) of the resource to get tags for.
resourceArn
- The Amazon Resource Name (ARN) of the resource to get tags for.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource to get tags for.
public ListTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to get tags for.
resourceArn
- The Amazon Resource Name (ARN) of the resource to get tags for.public void setNextToken(String nextToken)
The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.
nextToken
- The token that was returned from the previous API call, which would be used to return the next page of the
list. The ListTagsforResource call lists all available tags in one call and does not use pagination.public String getNextToken()
The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.
public ListTagsForResourceRequest withNextToken(String nextToken)
The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.
nextToken
- The token that was returned from the previous API call, which would be used to return the next page of the
list. The ListTagsforResource call lists all available tags in one call and does not use pagination.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
maxResults
- The maximum number of results to return in a single call.public Integer getMaxResults()
The maximum number of results to return in a single call.
public ListTagsForResourceRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
maxResults
- The maximum number of results to return in a single call.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()