@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagDescription extends Object implements Serializable, Cloneable
The tags associated with a resource.
Constructor and Description |
---|
TagDescription() |
Modifier and Type | Method and Description |
---|---|
TagDescription |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
List<Tag> |
getTags()
Information about the tags.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setTags(Collection<Tag> tags)
Information about the tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagDescription |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
TagDescription |
withTags(Collection<Tag> tags)
Information about the tags.
|
TagDescription |
withTags(Tag... tags)
Information about the tags.
|
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public TagDescription withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.public void setTags(Collection<Tag> tags)
Information about the tags.
tags
- Information about the tags.public TagDescription withTags(Tag... tags)
Information about the tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Information about the tags.public TagDescription withTags(Collection<Tag> tags)
Information about the tags.
tags
- Information about the tags.public String toString()
toString
in class Object
Object.toString()
public TagDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.