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:
  • Constructor Details

    • ListTagsForStreamResult

      public ListTagsForStreamResult()
  • Method Details

    • getTags

      public List<Tag> getTags()

      A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.

      Returns:
      A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.
    • setTags

      public 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.

      Parameters:
      tags - A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.
    • withTags

      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.

      Parameters:
      tags - A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.
      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 after ExclusiveStartTagKey and up to the specified Limit.

      Parameters:
      tags - A list of tags associated with StreamName, starting with the first tag after ExclusiveStartTagKey and up to the specified Limit.
      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, set ExclusiveStartTagKey to the key of the last tag returned.

      Parameters:
      hasMoreTags - If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to the key of the last tag returned.
    • getHasMoreTags

      public Boolean getHasMoreTags()

      If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to the key of the last tag returned.

      Returns:
      If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to 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, set ExclusiveStartTagKey to the key of the last tag returned.

      Parameters:
      hasMoreTags - If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to 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, set ExclusiveStartTagKey to the key of the last tag returned.

      Returns:
      If set to true, more tags are available. To request additional tags, set ExclusiveStartTagKey to the key of the last tag returned.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListTagsForStreamResult clone()
      Overrides:
      clone in class Object