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.
NOOP
Constructor and Description |
---|
ListTagsForResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourcesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(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.
|
String |
getResourceType()
The type of the resources.
|
int |
hashCode() |
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.
|
void |
setResourceType(String resourceType)
The type of the resources.
|
void |
setResourceType(TagResourceType resourceType)
The type of the resources.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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.
|
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.
|
ListTagsForResourcesRequest |
withResourceType(String resourceType)
The type of the resources.
|
ListTagsForResourcesRequest |
withResourceType(TagResourceType resourceType)
The type of the resources.
|
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
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
.
resourceType
- The type of the resources.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone
.
TagResourceType
public String getResourceType()
The type of the resources.
- 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 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
.
resourceType
- The type of the resources.
- 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 resources.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone
.
resourceType
- The type of the resources.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone
.
TagResourceType
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
.
resourceType
- The type of the resources.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone
.
TagResourceType
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.
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.
resourceIds
- A complex type that contains the ResourceId element for each
resource for which you want to get a list of tags.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)
or
withResourceIds(java.util.Collection)
if you want to override
the existing values.
resourceIds
- A complex type that contains the ResourceId element for each
resource for which you want to get a list of tags.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.
resourceIds
- A complex type that contains the ResourceId element for each
resource for which you want to get a list of tags.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.