public class ListTagsForStreamResult extends Object implements Serializable
| Constructor and Description |
|---|
ListTagsForStreamResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForStreamResult |
addTagsEntry(String key,
String value)
A map of tag keys and values associated with the specified stream.
|
ListTagsForStreamResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(Object obj) |
String |
getNextToken()
If you specify this parameter and the result of a
ListTags
call is truncated, the response includes a token that you can use in the
next request to fetch the next set of tags. |
Map<String,String> |
getTags()
A map of tag keys and values associated with the specified stream.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If you specify this parameter and the result of a
ListTags
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(Map<String,String> tags)
A map of tag keys and values associated with the specified stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamResult |
withNextToken(String nextToken)
If you specify this parameter and the result of a
ListTags
call is truncated, the response includes a token that you can use in the
next request to fetch the next set of tags. |
ListTagsForStreamResult |
withTags(Map<String,String> tags)
A map of tag keys and values associated with the specified stream.
|
public String getNextToken()
If you specify this parameter and the result of a ListTags
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
ListTags 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(String nextToken)
If you specify this parameter and the result of a ListTags
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
ListTags call is truncated, the response includes
a token that you can use in the next request to fetch the next
set of tags.
public ListTagsForStreamResult withNextToken(String nextToken)
If you specify this parameter and the result of a ListTags
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
ListTags call is truncated, the response includes
a token that you can use in the next request to fetch the next
set of tags.
public Map<String,String> getTags()
A map of tag keys and values associated with the specified stream.
A map of tag keys and values associated with the specified stream.
public void setTags(Map<String,String> tags)
A map of tag keys and values associated with the specified stream.
tags - A map of tag keys and values associated with the specified stream.
public ListTagsForStreamResult withTags(Map<String,String> tags)
A map of tag keys and values associated with the specified stream.
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 stream.
public ListTagsForStreamResult addTagsEntry(String key, String value)
A map of tag keys and values associated with the specified stream.
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 ListTagsForStreamResult clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.