Class ListTagsForResourcesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.ListTagsForResourcesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTagsForResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type containing information about a request for a list of the tags that are associated with up to 10 specified resources.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTagsForResourcesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsForResourcesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getResourceIds()A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.StringgetResourceType()The type of the resources.inthashCode()voidsetResourceIds(Collection<String> resourceIds)A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.voidsetResourceType(TagResourceType resourceType)The type of the resources.voidsetResourceType(String resourceType)The type of the resources.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTagsForResourcesRequestwithResourceIds(String... resourceIds)A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.ListTagsForResourcesRequestwithResourceIds(Collection<String> resourceIds)A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.ListTagsForResourcesRequestwithResourceType(TagResourceType resourceType)The type of the resources.ListTagsForResourcesRequestwithResourceType(String resourceType)The type of the resources.-
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 resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- Parameters:
resourceType- The type of the resources.- 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 resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- Returns:
- The type of the resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone. - See Also:
TagResourceType
-
withResourceType
public ListTagsForResourcesRequest withResourceType(String resourceType)
The type of the resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- Parameters:
resourceType- The type of the resources.- 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 resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- Parameters:
resourceType- The type of the resources.- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- See Also:
TagResourceType
-
withResourceType
public ListTagsForResourcesRequest withResourceType(TagResourceType resourceType)
The type of the resources.
- The resource type for health checks is
healthcheck.- The resource type for hosted zones is
hostedzone.- Parameters:
resourceType- The type of the resources.- 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
-
getResourceIds
public List<String> getResourceIds()
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
- Returns:
- A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
-
setResourceIds
public void setResourceIds(Collection<String> resourceIds)
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
- Parameters:
resourceIds- A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
-
withResourceIds
public ListTagsForResourcesRequest withResourceIds(String... resourceIds)
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)orwithResourceIds(java.util.Collection)if you want to override the existing values.- Parameters:
resourceIds- A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResourceIds
public ListTagsForResourcesRequest withResourceIds(Collection<String> resourceIds)
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
- Parameters:
resourceIds- A complex type that contains the ResourceId element for each resource for which you want to get a list of 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTagsForResourcesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-