Class ListTagsForStreamResult

    • Constructor Detail

      • ListTagsForStreamResult

        public ListTagsForStreamResult()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object