public class ListTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type containing information about a request for a list of the tags that are associated with an individual resource.
NOOP| Constructor and Description |
|---|
ListTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource for which you want to retrieve tags.
|
String |
getResourceType()
The type of the resource.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource for which you want to retrieve tags.
|
void |
setResourceType(String resourceType)
The type of the resource.
|
void |
setResourceType(TagResourceType resourceType)
The type of the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceRequest |
withResourceId(String resourceId)
The ID of the resource for which you want to retrieve tags.
|
ListTagsForResourceRequest |
withResourceType(String resourceType)
The type of the resource.
|
ListTagsForResourceRequest |
withResourceType(TagResourceType resourceType)
The type of the resource.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceType(String resourceType)
The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
TagResourceTypepublic String getResourceType()
The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone.
TagResourceTypepublic ListTagsForResourceRequest withResourceType(String resourceType)
The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
TagResourceTypepublic void setResourceType(TagResourceType resourceType)
The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
TagResourceTypepublic ListTagsForResourceRequest withResourceType(TagResourceType resourceType)
The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
- The resource type for health checks is healthcheck.
- The resource type for hosted zones is hostedzone.
TagResourceTypepublic void setResourceId(String resourceId)
The ID of the resource for which you want to retrieve tags.
resourceId - The ID of the resource for which you want to retrieve tags.public String getResourceId()
The ID of the resource for which you want to retrieve tags.
public ListTagsForResourceRequest withResourceId(String resourceId)
The ID of the resource for which you want to retrieve tags.
resourceId - The ID of the resource for which you want to retrieve tags.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.