@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()
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)
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)
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, setSdkResponseMetadata
public void setArn(String arn)
The ARN you specified to list the tags of.
arn
- The ARN you specified to list the tags of.public String getArn()
The ARN you specified to list the tags of.
public ListTagsForResourceResult withArn(String arn)
The ARN you specified to list the tags of.
arn
- 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 to 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 to
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 to 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 to
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 to 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 to
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.
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.
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.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.
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.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.
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.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()