Interface OpenSearchAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchAction.Builder,OpenSearchAction>,SdkBuilder<OpenSearchAction.Builder,OpenSearchAction>,SdkPojo
- Enclosing class:
- OpenSearchAction
public static interface OpenSearchAction.Builder extends SdkPojo, CopyableBuilder<OpenSearchAction.Builder,OpenSearchAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenSearchAction.Builderendpoint(String endpoint)The endpoint of your OpenSearch domain.OpenSearchAction.Builderid(String id)The unique identifier for the document you are storing.OpenSearchAction.Builderindex(String index)The OpenSearch index where you want to store your data.OpenSearchAction.BuilderroleArn(String roleArn)The IAM role ARN that has access to OpenSearch.OpenSearchAction.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
OpenSearchAction.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
OpenSearchAction.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
OpenSearchAction.Builder index(String index)
The OpenSearch index where you want to store your data.
- Parameters:
index- The OpenSearch index where you want to store your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
OpenSearchAction.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
OpenSearchAction.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.
-
-