Class ElasticsearchAction

java.lang.Object
com.amazonaws.services.iot.model.ElasticsearchAction
All Implemented Interfaces:
Serializable, Cloneable

public class ElasticsearchAction extends Object implements Serializable, Cloneable

Describes an action that writes data to an Amazon Elasticsearch Service; domain.

See Also:
  • Constructor Details

    • ElasticsearchAction

      public ElasticsearchAction()
  • Method Details

    • setRoleArn

      public void setRoleArn(String roleArn)

      The IAM role ARN that has access to Elasticsearch.

      Parameters:
      roleArn - The IAM role ARN that has access to Elasticsearch.
    • getRoleArn

      public String getRoleArn()

      The IAM role ARN that has access to Elasticsearch.

      Returns:
      The IAM role ARN that has access to Elasticsearch.
    • withRoleArn

      public ElasticsearchAction withRoleArn(String roleArn)

      The IAM role ARN that has access to Elasticsearch.

      Parameters:
      roleArn - The IAM role ARN that has access to Elasticsearch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndpoint

      public void setEndpoint(String endpoint)

      The endpoint of your Elasticsearch domain.

      Parameters:
      endpoint - The endpoint of your Elasticsearch domain.
    • getEndpoint

      public String getEndpoint()

      The endpoint of your Elasticsearch domain.

      Returns:
      The endpoint of your Elasticsearch domain.
    • withEndpoint

      public ElasticsearchAction withEndpoint(String endpoint)

      The endpoint of your Elasticsearch domain.

      Parameters:
      endpoint - The endpoint of your Elasticsearch domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setIndex

      public void setIndex(String index)

      The Elasticsearch index where you want to store your data.

      Parameters:
      index - The Elasticsearch index where you want to store your data.
    • getIndex

      public String getIndex()

      The Elasticsearch index where you want to store your data.

      Returns:
      The Elasticsearch index where you want to store your data.
    • withIndex

      public ElasticsearchAction withIndex(String index)

      The Elasticsearch index where you want to store your data.

      Parameters:
      index - The Elasticsearch index where you want to store your data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setType

      public void setType(String type)

      The type of document you are storing.

      Parameters:
      type - The type of document you are storing.
    • getType

      public String getType()

      The type of document you are storing.

      Returns:
      The type of document you are storing.
    • withType

      public ElasticsearchAction withType(String type)

      The type of document you are storing.

      Parameters:
      type - The type of document you are storing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setId

      public void setId(String id)

      The unique identifier for the document you are storing.

      Parameters:
      id - The unique identifier for the document you are storing.
    • getId

      public String getId()

      The unique identifier for the document you are storing.

      Returns:
      The unique identifier for the document you are storing.
    • withId

      public ElasticsearchAction withId(String id)

      The unique identifier for the document you are storing.

      Parameters:
      id - The unique identifier for the document you are storing.
      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 ElasticsearchAction clone()
      Overrides:
      clone in class Object