public class ListTagsForStreamResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListTagsForStreamResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForStreamResult |
addTagsEntry(java.lang.String key,
java.lang.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(java.lang.Object obj) |
java.lang.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. |
java.util.Map<java.lang.String,java.lang.String> |
getTags()
A map of tag keys and values associated with the specified stream.
|
int |
hashCode() |
void |
setNextToken(java.lang.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(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamResult |
withNextToken(java.lang.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(java.util.Map<java.lang.String,java.lang.String> tags)
A map of tag keys and values associated with the specified stream.
|
public java.lang.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(java.lang.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(java.lang.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 java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String key, java.lang.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 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.