public class ListTagsForResourceResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
addTagsEntry(java.lang.String key,
java.lang.String value)
A map of tag keys and values associated with the specified signaling
channel.
|
ListTagsForResourceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If you specify this parameter and the result of a ListTagsForResource
call is truncated, the response includes a token that you can use in the
next request to fetch the next set of tags.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
A map of tag keys and values associated with the specified signaling
channel.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a ListTagsForResource
call is truncated, the response includes a token that you can use in the
next request to fetch the next set of tags.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified signaling
channel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a ListTagsForResource
call is truncated, the response includes a token that you can use in the
next request to fetch the next set of tags.
|
ListTagsForResourceResult |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified signaling
channel.
|
public java.lang.String getNextToken()
If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
public void setNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken
- If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
public ListTagsForResourceResult withNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken
- If you specify this parameter and the result of a ListTagsForResource call is truncated, the response includes a token that you can use in the next request to fetch the next set of tags.
public java.util.Map<java.lang.String,java.lang.String> getTags()
A map of tag keys and values associated with the specified signaling channel.
A map of tag keys and values associated with the specified signaling channel.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified signaling channel.
tags
- A map of tag keys and values associated with the specified signaling channel.
public ListTagsForResourceResult withTags(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified signaling channel.
Returns a reference to this object so that method calls can be chained together.
tags
- A map of tag keys and values associated with the specified signaling channel.
public ListTagsForResourceResult addTagsEntry(java.lang.String key, java.lang.String value)
A map of tag keys and values associated with the specified signaling channel.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Tags.value
- The corresponding value of the entry to be added into Tags.public ListTagsForResourceResult clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
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.