Class ListTagsForResourceRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type containing information about a request for a list of the tags that are associated with an individual resource.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the resource for which you want to retrieve tags.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
(TagResourceType resourceType) The type of the resource.void
setResourceType
(String resourceType) The type of the resource.toString()
Returns a string representation of this object; useful for testing and debugging.withResourceId
(String resourceId) The ID of the resource for which you want to retrieve tags.withResourceType
(TagResourceType resourceType) The type of the resource.withResourceType
(String resourceType) The type of the resource.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListTagsForResourceRequest
public ListTagsForResourceRequest()
-
-
Method Details
-
setResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- See Also:
-
getResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
. - See Also:
-
withResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- See Also:
-
withResourceType
The type of the resource.
- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Parameters:
resourceType
- The type of the resource.- The resource type for health checks is
healthcheck
.- The resource type for hosted zones is
hostedzone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceId
The ID of the resource for which you want to retrieve tags.
- Parameters:
resourceId
- The ID of the resource for which you want to retrieve tags.
-
getResourceId
The ID of the resource for which you want to retrieve tags.
- Returns:
- The ID of the resource for which you want to retrieve tags.
-
withResourceId
The ID of the resource for which you want to retrieve tags.
- Parameters:
resourceId
- The ID of the resource for which you want to retrieve tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-