@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<Tag> |
getTags()
An array that lists all the tags that are associated with the application.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
An array that lists all the tags that are associated with the application.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
An array that lists all the tags that are associated with the application.
|
ListTagsForResourceResult |
withTags(Tag... tags)
An array that lists all the tags that are associated with the application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
An array that lists all the tags that are associated with the application. Each tag consists of a required tag
key (Key
) and an associated tag value (Value
).
Key
) and an associated tag value (Value
).public void setTags(Collection<Tag> tags)
An array that lists all the tags that are associated with the application. Each tag consists of a required tag
key (Key
) and an associated tag value (Value
).
tags
- An array that lists all the tags that are associated with the application. Each tag consists of a required
tag key (Key
) and an associated tag value (Value
).public ListTagsForResourceResult withTags(Tag... tags)
An array that lists all the tags that are associated with the application. Each tag consists of a required tag
key (Key
) and an associated tag value (Value
).
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
- An array that lists all the tags that are associated with the application. Each tag consists of a required
tag key (Key
) and an associated tag value (Value
).public ListTagsForResourceResult withTags(Collection<Tag> tags)
An array that lists all the tags that are associated with the application. Each tag consists of a required tag
key (Key
) and an associated tag value (Value
).
tags
- An array that lists all the tags that are associated with the application. Each tag consists of a required
tag key (Key
) and an associated tag value (Value
).public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()