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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElasticsearchAction.Builderendpoint(String endpoint)The endpoint of your OpenSearch domain.ElasticsearchAction.Builderid(String id)The unique identifier for the document you are storing.ElasticsearchAction.Builderindex(String index)The index where you want to store your data.ElasticsearchAction.BuilderroleArn(String roleArn)The IAM role ARN that has access to OpenSearch.ElasticsearchAction.Buildertype(String type)The type of document you are storing.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-