@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 |
getArn()
This value is the ARN you specified to list the tags of.
|
String |
getNextToken()
When you can get additional results from the
ListTagsForResource call, a NextToken
parameter is returned in the output. |
List<Tag> |
getTags()
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
int |
hashCode() |
void |
setArn(String arn)
This value is the ARN you specified to list the tags of.
|
void |
setNextToken(String nextToken)
When you can get additional results from the
ListTagsForResource call, a NextToken
parameter is returned in the output. |
void |
setTags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withArn(String arn)
This value is the ARN you specified to list the tags of.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
When you can get additional results from the
ListTagsForResource call, a NextToken
parameter is returned in the output. |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
This value is the ARN you specified to list the tags of.
arn - This value is the ARN you specified to list the tags of.public String getArn()
This value is the ARN you specified to list the tags of.
public ListTagsForResourceResult withArn(String arn)
This value is the ARN you specified to list the tags of.
arn - This value is the ARN you specified to list the tags of.public void setNextToken(String nextToken)
When you can get additional results from the ListTagsForResource call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional tags.
nextToken - When you can get additional results from the ListTagsForResource call, a
NextToken parameter is returned in the output. You can then pass in a subsequent command the
NextToken parameter to continue listing additional tags.public String getNextToken()
When you can get additional results from the ListTagsForResource call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional tags.
ListTagsForResource call, a
NextToken parameter is returned in the output. You can then pass in a subsequent command the
NextToken parameter to continue listing additional tags.public ListTagsForResourceResult withNextToken(String nextToken)
When you can get additional results from the ListTagsForResource call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command the NextToken
parameter to continue listing additional tags.
nextToken - When you can get additional results from the ListTagsForResource call, a
NextToken parameter is returned in the output. You can then pass in a subsequent command the
NextToken parameter to continue listing additional tags.public List<Tag> getTags()
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define that you can use for any purpose.
public void setTags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define that you can use for any purpose.
tags - Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for
items. Tags are metadata that you define that you can use for any purpose.public ListTagsForResourceResult withTags(Tag... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define that you can use for any purpose.
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 - Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for
items. Tags are metadata that you define that you can use for any purpose.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define that you can use for any purpose.
tags - Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for
items. Tags are metadata that you define that you can use for any purpose.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2019. All rights reserved.