Class ListTagsForResourceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.ListTagsForResourceRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTagsForResourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(TagResourceType resourceType)
The type of the resource.void
setResourceType(String 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(TagResourceType resourceType)
The type of the resource.ListTagsForResourceRequest
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
-
-
-
-
Method Detail
-
setResourceType
public 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
.- 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:
TagResourceType
-
getResourceType
public String 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:
TagResourceType
-
withResourceType
public 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
.- 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:
TagResourceType
-
setResourceType
public 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
.- 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:
TagResourceType
-
withResourceType
public 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
.- 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:
TagResourceType
-
setResourceId
public void setResourceId(String resourceId)
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
public String 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
public ListTagsForResourceRequest withResourceId(String resourceId)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTagsForResourceRequest 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:
Object.clone()
-
-