@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) |
String |
getArn()
Requests the tags associated with a particular Amazon Resource Name (ARN).
|
Integer |
getMaxResults()
Specifies the number of tags to return as a response to the
ListTagsForResource request. |
String |
getNextToken()
When you request additional results from the
ListTagsForResource operation, a NextToken
parameter is returned in the input. |
int |
hashCode() |
void |
setArn(String arn)
Requests the tags associated with a particular Amazon Resource Name (ARN).
|
void |
setMaxResults(Integer maxResults)
Specifies the number of tags to return as a response to the
ListTagsForResource request. |
void |
setNextToken(String nextToken)
When you request additional results from the
ListTagsForResource operation, a NextToken
parameter is returned in the input. |
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withArn(String arn)
Requests the tags associated with a particular Amazon Resource Name (ARN).
|
ListTagsForResourceRequest |
withMaxResults(Integer maxResults)
Specifies the number of tags to return as a response to the
ListTagsForResource request. |
ListTagsForResourceRequest |
withNextToken(String nextToken)
When you request additional results from the
ListTagsForResource operation, a NextToken
parameter is returned in the input. |
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 setArn(String arn)
Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific Amazon Web Services resource, such as a server, user, or role.
arn
- Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a
specific Amazon Web Services resource, such as a server, user, or role.public String getArn()
Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific Amazon Web Services resource, such as a server, user, or role.
public ListTagsForResourceRequest withArn(String arn)
Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a specific Amazon Web Services resource, such as a server, user, or role.
arn
- Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier for a
specific Amazon Web Services resource, such as a server, user, or role.public void setMaxResults(Integer maxResults)
Specifies the number of tags to return as a response to the ListTagsForResource
request.
maxResults
- Specifies the number of tags to return as a response to the ListTagsForResource
request.public Integer getMaxResults()
Specifies the number of tags to return as a response to the ListTagsForResource
request.
ListTagsForResource
request.public ListTagsForResourceRequest withMaxResults(Integer maxResults)
Specifies the number of tags to return as a response to the ListTagsForResource
request.
maxResults
- Specifies the number of tags to return as a response to the ListTagsForResource
request.public void setNextToken(String nextToken)
When you request additional results from the ListTagsForResource
operation, a NextToken
parameter is returned in the input. You can then pass in a subsequent command to the NextToken
parameter to continue listing additional tags.
nextToken
- When you request additional results from the ListTagsForResource
operation, a
NextToken
parameter is returned in the input. You can then pass in a subsequent command to
the NextToken
parameter to continue listing additional tags.public String getNextToken()
When you request additional results from the ListTagsForResource
operation, a NextToken
parameter is returned in the input. You can then pass in a subsequent command to the NextToken
parameter to continue listing additional tags.
ListTagsForResource
operation, a
NextToken
parameter is returned in the input. You can then pass in a subsequent command to
the NextToken
parameter to continue listing additional tags.public ListTagsForResourceRequest withNextToken(String nextToken)
When you request additional results from the ListTagsForResource
operation, a NextToken
parameter is returned in the input. You can then pass in a subsequent command to the NextToken
parameter to continue listing additional tags.
nextToken
- When you request additional results from the ListTagsForResource
operation, a
NextToken
parameter is returned in the input. You can then pass in a subsequent command to
the NextToken
parameter to continue listing additional tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()