Class ListTagsForStreamResult
- java.lang.Object
-
- com.amazonaws.services.kinesis.model.ListTagsForStreamResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListTagsForStreamResult extends Object implements Serializable, Cloneable
Represents the output for
ListTagsForStream.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTagsForStreamResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsForStreamResultclone()booleanequals(Object obj)BooleangetHasMoreTags()If set totrue, more tags are available.List<Tag>getTags()A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.inthashCode()BooleanisHasMoreTags()If set totrue, more tags are available.voidsetHasMoreTags(Boolean hasMoreTags)If set totrue, more tags are available.voidsetTags(Collection<Tag> tags)A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTagsForStreamResultwithHasMoreTags(Boolean hasMoreTags)If set totrue, more tags are available.ListTagsForStreamResultwithTags(Tag... tags)A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.ListTagsForStreamResultwithTags(Collection<Tag> tags)A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.
-
-
-
Method Detail
-
getTags
public List<Tag> getTags()
A list of tags associated with
StreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.- Returns:
- A list of tags associated with
StreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.
-
setTags
public void setTags(Collection<Tag> tags)
A list of tags associated with
StreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.- Parameters:
tags- A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.
-
withTags
public ListTagsForStreamResult withTags(Tag... tags)
A list of tags associated with
StreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public ListTagsForStreamResult withTags(Collection<Tag> tags)
A list of tags associated with
StreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.- Parameters:
tags- A list of tags associated withStreamName, starting with the first tag afterExclusiveStartTagKeyand up to the specifiedLimit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHasMoreTags
public void setHasMoreTags(Boolean hasMoreTags)
If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.- Parameters:
hasMoreTags- If set totrue, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.
-
getHasMoreTags
public Boolean getHasMoreTags()
If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.- Returns:
- If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.
-
withHasMoreTags
public ListTagsForStreamResult withHasMoreTags(Boolean hasMoreTags)
If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.- Parameters:
hasMoreTags- If set totrue, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isHasMoreTags
public Boolean isHasMoreTags()
If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.- Returns:
- If set to
true, more tags are available. To request additional tags, setExclusiveStartTagKeyto the key of the last tag returned.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTagsForStreamResult clone()
-
-