Interface ElasticsearchAction.Builder

  • Method Details

    • roleArn

      The IAM role ARN that has access to OpenSearch.

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

      ElasticsearchAction.Builder endpoint(String endpoint)

      The endpoint of your OpenSearch domain.

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

      The index where you want to store your data.

      Parameters:
      index - The index where you want to store your data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.