@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of items to be returned.
|
String |
getNextToken()
The next item following a partial list of returned items.
|
String |
getResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of items to be returned.
|
void |
setNextToken(String nextToken)
The next item following a partial list of returned items.
|
void |
setResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to be returned.
|
ListTagsRequest |
withNextToken(String nextToken)
The next item following a partial list of returned items.
|
ListTagsRequest |
withResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
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)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of
resource. Valid targets for ListTags
are recovery points, backup plans, and backup vaults.
resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the
type of resource. Valid targets for ListTags
are recovery points, backup plans, and backup
vaults.public String getResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of
resource. Valid targets for ListTags
are recovery points, backup plans, and backup vaults.
ListTags
are recovery points, backup plans, and backup
vaults.public ListTagsRequest withResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the type of
resource. Valid targets for ListTags
are recovery points, backup plans, and backup vaults.
resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the
type of resource. Valid targets for ListTags
are recovery points, backup plans, and backup
vaults.public void setNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public String getNextToken()
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public ListTagsRequest withNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows you to return more items in your
list starting at the location pointed to by the next token.public void setMaxResults(Integer maxResults)
The maximum number of items to be returned.
maxResults
- The maximum number of items to be returned.public Integer getMaxResults()
The maximum number of items to be returned.
public ListTagsRequest withMaxResults(Integer maxResults)
The maximum number of items to be returned.
maxResults
- The maximum number of items to be returned.public String toString()
toString
in class Object
Object.toString()
public ListTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()