public class ListTagsForResourcesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A complex type containing information about a request for a list of the tags that are associated with up to 10 specified resources.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
resourceIds
A complex type that contains the ResourceId element for each resource for
which you want to get a list of tags.
|
private java.lang.String |
resourceType
The type of the resources.
|
NOOP
Constructor and Description |
---|
ListTagsForResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourcesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getResourceIds()
A complex type that contains the ResourceId element for each resource for
which you want to get a list of tags.
|
java.lang.String |
getResourceType()
The type of the resources.
|
int |
hashCode() |
void |
setResourceIds(java.util.Collection<java.lang.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(java.lang.String resourceType)
The type of the resources.
|
void |
setResourceType(TagResourceType resourceType)
The type of the resources.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourcesRequest |
withResourceIds(java.util.Collection<java.lang.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(java.lang.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(java.lang.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
private java.lang.String resourceType
The type of the resources.
- The resource type for health checks is healthcheck
.
- The resource type for hosted zones is hostedzone
.
private SdkInternalList<java.lang.String> resourceIds
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
public void setResourceType(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTagsForResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()