Class AddTagsRequest

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

public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Container for the parameters to the AddTags operation. Specify the tags that you want to attach to the Elasticsearch domain.

See Also:
  • Constructor Details

    • AddTagsRequest

      public AddTagsRequest()
  • Method Details

    • setARN

      public void setARN(String aRN)

      Specify the ARN for which you want to add the tags.

      Parameters:
      aRN - Specify the ARN for which you want to add the tags.
    • getARN

      public String getARN()

      Specify the ARN for which you want to add the tags.

      Returns:
      Specify the ARN for which you want to add the tags.
    • withARN

      public AddTagsRequest withARN(String aRN)

      Specify the ARN for which you want to add the tags.

      Parameters:
      aRN - Specify the ARN for which you want to add the tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTagList

      public List<Tag> getTagList()

      List of Tag that need to be added for the Elasticsearch domain.

      Returns:
      List of Tag that need to be added for the Elasticsearch domain.
    • setTagList

      public void setTagList(Collection<Tag> tagList)

      List of Tag that need to be added for the Elasticsearch domain.

      Parameters:
      tagList - List of Tag that need to be added for the Elasticsearch domain.
    • withTagList

      public AddTagsRequest withTagList(Tag... tagList)

      List of Tag that need to be added for the Elasticsearch domain.

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

      Parameters:
      tagList - List of Tag that need to be added for the Elasticsearch domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTagList

      public AddTagsRequest withTagList(Collection<Tag> tagList)

      List of Tag that need to be added for the Elasticsearch domain.

      Parameters:
      tagList - List of Tag that need to be added for the Elasticsearch domain.
      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:
    • equals

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

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

      public AddTagsRequest 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: