@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
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 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
.
TagResourceType
public 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
.
TagResourceType
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
.
resourceType
- The type of the resource.
The resource type for health checks is healthcheck
.
The resource type for hosted zones is hostedzone
.
TagResourceType
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
.
resourceType
- The type of the resource.
The resource type for health checks is healthcheck
.
The resource type for hosted zones is hostedzone
.
TagResourceType
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
.
resourceType
- The type of the resource.
The resource type for health checks is healthcheck
.
The resource type for hosted zones is hostedzone
.
TagResourceType
public 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 Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()