Interface ElasticsearchAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>, SdkBuilder<ElasticsearchAction.Builder,ElasticsearchAction>, SdkPojo
Enclosing class:
ElasticsearchAction

public static interface ElasticsearchAction.Builder extends SdkPojo, CopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>
  • 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.