@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
List<ResourceTag> |
getResourceTags()
A list of tag key value pairs that are associated with the resource.
|
int |
hashCode() |
void |
setResourceTags(Collection<ResourceTag> resourceTags)
A list of tag key value pairs that are associated with the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceTags(Collection<ResourceTag> resourceTags)
A list of tag key value pairs that are associated with the resource.
|
ListTagsForResourceResult |
withResourceTags(ResourceTag... resourceTags)
A list of tag key value pairs that are associated with the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceTag> getResourceTags()
A list of tag key value pairs that are associated with the resource.
public void setResourceTags(Collection<ResourceTag> resourceTags)
A list of tag key value pairs that are associated with the resource.
resourceTags
- A list of tag key value pairs that are associated with the resource.public ListTagsForResourceResult withResourceTags(ResourceTag... resourceTags)
A list of tag key value pairs that are associated with the resource.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTags(java.util.Collection)
or withResourceTags(java.util.Collection)
if you want to
override the existing values.
resourceTags
- A list of tag key value pairs that are associated with the resource.public ListTagsForResourceResult withResourceTags(Collection<ResourceTag> resourceTags)
A list of tag key value pairs that are associated with the resource.
resourceTags
- A list of tag key value pairs that are associated with the resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()