@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) specified in your request.
|
List<Tag> |
getTags()
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) specified in your request.
|
void |
setTags(Collection<Tag> tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) specified in your request.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) specified in your request.
resourceArn - The Amazon Resource Name (ARN) specified in your request.public String getResourceArn()
The Amazon Resource Name (ARN) specified in your request.
public ListTagsForResourceResult withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) specified in your request.
resourceArn - The Amazon Resource Name (ARN) specified in your request.public List<Tag> getTags()
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
public void setTags(Collection<Tag> tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
tags - Lists all tags associated with the given transcription job, vocabulary, model, or resource.public ListTagsForResourceResult withTags(Tag... tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
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 - Lists all tags associated with the given transcription job, vocabulary, model, or resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Lists all tags associated with the given transcription job, vocabulary, model, or resource.
tags - Lists all tags associated with the given transcription job, vocabulary, model, or resource.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()