Interface ElasticsearchAction.Builder

    • Method Detail

      • roleArn

        ElasticsearchAction.Builder roleArn​(String 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

        ElasticsearchAction.Builder index​(String 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

        ElasticsearchAction.Builder type​(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.
      • id

        ElasticsearchAction.Builder id​(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.