Class RemoveTagsFromStreamRequest

    • Constructor Detail

      • RemoveTagsFromStreamRequest

        public RemoveTagsFromStreamRequest()
    • Method Detail

      • setStreamName

        public void setStreamName​(String streamName)

        The name of the stream.

        Parameters:
        streamName - The name of the stream.
      • getStreamName

        public String getStreamName()

        The name of the stream.

        Returns:
        The name of the stream.
      • withStreamName

        public RemoveTagsFromStreamRequest withStreamName​(String streamName)

        The name of the stream.

        Parameters:
        streamName - The name of the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTagKeys

        public List<String> getTagKeys()

        A list of tag keys. Each corresponding tag is removed from the stream.

        Returns:
        A list of tag keys. Each corresponding tag is removed from the stream.
      • setTagKeys

        public void setTagKeys​(Collection<String> tagKeys)

        A list of tag keys. Each corresponding tag is removed from the stream.

        Parameters:
        tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.
      • withTagKeys

        public RemoveTagsFromStreamRequest withTagKeys​(String... tagKeys)

        A list of tag keys. Each corresponding tag is removed from the stream.

        NOTE: This method appends the values to the existing list (if any). Use setTagKeys(java.util.Collection) or withTagKeys(java.util.Collection) if you want to override the existing values.

        Parameters:
        tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTagKeys

        public RemoveTagsFromStreamRequest withTagKeys​(Collection<String> tagKeys)

        A list of tag keys. Each corresponding tag is removed from the stream.

        Parameters:
        tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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