Class AddTagsToStreamRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kinesis.model.AddTagsToStreamRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class AddTagsToStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input for AddTagsToStream.

See Also:
  • Constructor Details

    • AddTagsToStreamRequest

      public AddTagsToStreamRequest()
  • Method Details

    • 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 AddTagsToStreamRequest 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.
    • getTags

      public Map<String,String> getTags()

      The set of key-value pairs to use to create the tags.

      Returns:
      The set of key-value pairs to use to create the tags.
    • setTags

      public void setTags(Map<String,String> tags)

      The set of key-value pairs to use to create the tags.

      Parameters:
      tags - The set of key-value pairs to use to create the tags.
    • withTags

      public AddTagsToStreamRequest withTags(Map<String,String> tags)

      The set of key-value pairs to use to create the tags.

      Parameters:
      tags - The set of key-value pairs to use to create the tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTagsEntry

      public AddTagsToStreamRequest addTagsEntry(String key, String value)
    • clearTagsEntries

      public AddTagsToStreamRequest clearTagsEntries()
      Removes all the entries added into Tags. <p> 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:
    • equals

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

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

      public AddTagsToStreamRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: