public class ListTagsForStreamResult extends Object implements Serializable, Cloneable
Represents the output for ListTagsForStream .
| Constructor and Description |
|---|
ListTagsForStreamResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForStreamResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getHasMoreTags()
If set to
true, more tags are available. |
List<Tag> |
getTags()
A list of tags associated with
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit. |
int |
hashCode() |
Boolean |
isHasMoreTags()
If set to
true, more tags are available. |
void |
setHasMoreTags(Boolean hasMoreTags)
If set to
true, more tags are available. |
void |
setTags(Collection<Tag> tags)
A list of tags associated with
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamResult |
withHasMoreTags(Boolean hasMoreTags)
If set to
true, more tags are available. |
ListTagsForStreamResult |
withTags(Collection<Tag> tags)
A list of tags associated with
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit. |
ListTagsForStreamResult |
withTags(Tag... tags)
A list of tags associated with
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit. |
public List<Tag> getTags()
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.
Constraints:
Length: 0 -
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.public void setTags(Collection<Tag> tags)
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.
Constraints:
Length: 0 -
tags - A list of tags associated with StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.public ListTagsForStreamResult withTags(Tag... tags)
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 -
tags - A list of tags associated with StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.public ListTagsForStreamResult withTags(Collection<Tag> tags)
StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 -
tags - A list of tags associated with StreamName, starting with
the first tag after ExclusiveStartTagKey and up to the
specified Limit.public Boolean isHasMoreTags()
true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.public void setHasMoreTags(Boolean hasMoreTags)
true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.hasMoreTags - If set to true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.public ListTagsForStreamResult withHasMoreTags(Boolean hasMoreTags)
true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.
Returns a reference to this object so that method calls can be chained together.
hasMoreTags - If set to true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.public Boolean getHasMoreTags()
true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.true, more tags are available. To request
additional tags, set ExclusiveStartTagKey to the key of
the last tag returned.public String toString()
toString in class ObjectObject.toString()public ListTagsForStreamResult clone()
Copyright © 2015. All rights reserved.