public class ResourceTag extends Object implements Serializable, Cloneable
A resource tag.
| Constructor and Description |
|---|
ResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
ResourceTag |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
Specifies the ARN of the resource.
|
List<Tag> |
getTagsList() |
int |
hashCode() |
void |
setResourceId(String resourceId)
Specifies the ARN of the resource.
|
void |
setTagsList(Collection<Tag> tagsList) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResourceTag |
withResourceId(String resourceId)
Specifies the ARN of the resource.
|
ResourceTag |
withTagsList(Collection<Tag> tagsList) |
ResourceTag |
withTagsList(Tag... tagsList)
NOTE: This method appends the values to the existing list (if
any).
|
public void setResourceId(String resourceId)
Specifies the ARN of the resource.
resourceId - Specifies the ARN of the resource.public String getResourceId()
Specifies the ARN of the resource.
public ResourceTag withResourceId(String resourceId)
Specifies the ARN of the resource.
resourceId - Specifies the ARN of the resource.public void setTagsList(Collection<Tag> tagsList)
tagsList - public ResourceTag withTagsList(Tag... tagsList)
NOTE: This method appends the values to the existing list (if
any). Use setTagsList(java.util.Collection) or
withTagsList(java.util.Collection) if you want to override the
existing values.
tagsList - public ResourceTag withTagsList(Collection<Tag> tagsList)
tagsList - public String toString()
toString in class ObjectObject.toString()public ResourceTag clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.