@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 |
getLimit()
The maximum number of tags returned on each page.
|
String |
getNextToken()
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
String |
getResourceArn()
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of tags returned on each page.
|
void |
setNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withLimit(Integer limit)
The maximum number of tags returned on each page.
|
ListTagsForResourceRequest |
withNextToken(String nextToken)
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
ListTagsForResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
|
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) that identifies the resource for which to list the tags. Currently, the supported
resources are ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.
resourceArn
- The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
supported resources are ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.public String getResourceArn()
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported
resources are ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.
ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.public ListTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported
resources are ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.
resourceArn
- The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
supported resources are ConfigRule
, ConfigurationAggregator
and
AggregatorAuthorization
.public void setLimit(Integer limit)
The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.
limit
- The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number
greater than 50. If you specify 0, Config uses the default.public Integer getLimit()
The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.
public ListTagsForResourceRequest withLimit(Integer limit)
The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.
limit
- The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number
greater than 50. If you specify 0, Config uses the default.public void setNextToken(String nextToken)
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String getNextToken()
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
string returned on a previous page that you use to get the next page of
results in a paginated response.public ListTagsForResourceRequest withNextToken(String nextToken)
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
- The nextToken
string returned on a previous page that you use to get the next page of results
in a paginated response.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()