@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) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
|
List<Tag> |
getTags()
Tags associated with the Amazon Comprehend resource being queried.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
|
void |
setTags(Collection<Tag> tags)
Tags associated with the Amazon Comprehend resource being queried.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Tags associated with the Amazon Comprehend resource being queried.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Tags associated with the Amazon Comprehend resource being queried.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
resourceArn
- The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.public String getResourceArn()
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
resourceArn
- The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.public List<Tag> getTags()
Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
public void setTags(Collection<Tag> tags)
Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as
a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be
added to a resource to indicate its use by the sales department.public ListTagsForResourceResult withTags(Tag... tags)
Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
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
- Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as
a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be
added to a resource to indicate its use by the sales department.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
tags
- Tags associated with the Amazon Comprehend resource being queried. A tag is a key-value pair that adds as
a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be
added to a resource to indicate its use by the sales department.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()