Class OpenSearchAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.OpenSearchAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpenSearchAction>
- Enclosing class:
OpenSearchAction
@Stability(Experimental)
public static final class OpenSearchAction.Builder
extends Object
implements software.amazon.jsii.Builder<OpenSearchAction>
(experimental) A fluent builder for
OpenSearchAction
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static OpenSearchAction.Builder
(experimental) The unique identifier for the document you are storing.(experimental) The OpenSearch index where you want to store your data.(experimental) The IAM role that allows access to AWS service.(experimental) The type of document you are storing.
-
Method Details
-
create
- Parameters:
domain
- This parameter is required.- Returns:
- a new instance of
OpenSearchAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
id
(experimental) The unique identifier for the document you are storing.- Parameters:
id
- The unique identifier for the document you are storing. This parameter is required.- Returns:
this
-
index
(experimental) The OpenSearch index where you want to store your data.- Parameters:
index
- The OpenSearch index where you want to store your data. This parameter is required.- Returns:
this
-
type
(experimental) The type of document you are storing.- Parameters:
type
- The type of document you are storing. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OpenSearchAction>
- Returns:
- a newly built instance of
OpenSearchAction
.
-