public class ListTagsForResourceResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceArn()
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource
you are querying.
|
java.util.List<Tag> |
getTags()
Tags associated with the Amazon Comprehend resource being queried.
|
int |
hashCode() |
void |
setResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource
you are querying.
|
void |
setTags(java.util.Collection<Tag> tags)
Tags associated with the Amazon Comprehend resource being queried.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource
you are querying.
|
ListTagsForResourceResult |
withTags(java.util.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.
|
public java.lang.String getResourceArn()
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:[a-zA-
Z0-9-]{1,64}/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
public void setResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:[a-zA-
Z0-9-]{1,64}/[a-zA-Z0-9](-*[a-zA-Z0-9])*
resourceArn
- The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
public ListTagsForResourceResult withResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:[a-zA-
Z0-9-]{1,64}/[a-zA-Z0-9](-*[a-zA-Z0-9])*
resourceArn
- The Amazon Resource Name (ARN) of the given Amazon Comprehend resource you are querying.
public java.util.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.
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(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.