public class ListTagsForStreamResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output for ListTagsForStream
.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
hasMoreTags
If set to
true , more tags are available. |
private SdkInternalList<Tag> |
tags
A list of tags associated with
StreamName , starting with the
first tag after ExclusiveStartTagKey and up to the specified
Limit . |
Constructor and Description |
---|
ListTagsForStreamResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForStreamResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getHasMoreTags()
If set to
true , more tags are available. |
java.util.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() |
java.lang.Boolean |
isHasMoreTags()
If set to
true , more tags are available. |
void |
setHasMoreTags(java.lang.Boolean hasMoreTags)
If set to
true , more tags are available. |
void |
setTags(java.util.Collection<Tag> tags)
A list of tags associated with
StreamName , starting with the
first tag after ExclusiveStartTagKey and up to the specified
Limit . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamResult |
withHasMoreTags(java.lang.Boolean hasMoreTags)
If set to
true , more tags are available. |
ListTagsForStreamResult |
withTags(java.util.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 . |
private SdkInternalList<Tag> tags
A list of tags associated with StreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified
Limit
.
private java.lang.Boolean hasMoreTags
If set to true
, more tags are available. To request
additional tags, set ExclusiveStartTagKey
to the key of the
last tag returned.
public java.util.List<Tag> getTags()
A list of tags associated with StreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified
Limit
.
StreamName
, starting
with the first tag after ExclusiveStartTagKey
and up
to the specified Limit
.public void setTags(java.util.Collection<Tag> tags)
A list of tags associated with StreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified
Limit
.
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)
A list of tags associated with 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.
tags
- A list of tags associated with StreamName
, starting
with the first tag after ExclusiveStartTagKey
and up
to the specified Limit
.public ListTagsForStreamResult withTags(java.util.Collection<Tag> tags)
A list of tags associated with StreamName
, starting with the
first tag after ExclusiveStartTagKey
and up to the specified
Limit
.
tags
- A list of tags associated with StreamName
, starting
with the first tag after ExclusiveStartTagKey
and up
to the specified Limit
.public void setHasMoreTags(java.lang.Boolean hasMoreTags)
If set to 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 java.lang.Boolean getHasMoreTags()
If set to 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 ListTagsForStreamResult withHasMoreTags(java.lang.Boolean hasMoreTags)
If set to 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 java.lang.Boolean isHasMoreTags()
If set to 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTagsForStreamResult clone()
clone
in class java.lang.Object