Class CfnIndexPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnIndexPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin>
- Enclosing class:
CfnIndexPropsMixin
@Stability(Stable)
public static final class CfnIndexPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin>
A fluent builder for
CfnIndexPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()collectionEndpoint(String collectionEndpoint) The endpoint for the collection.static CfnIndexPropsMixin.Buildercreate()static CfnIndexPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The name of the OpenSearch Serverless index.mappings(CfnIndexPropsMixin.MappingsProperty mappings) Index mappings for the OpenSearch Serverless index.mappings(IResolvable mappings) Index mappings for the OpenSearch Serverless index.Index settings for the OpenSearch Serverless index.settings(IResolvable settings) Index settings for the OpenSearch Serverless index.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnIndexPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnIndexPropsMixin.Builder.
-
collectionEndpoint
The endpoint for the collection.- Parameters:
collectionEndpoint- The endpoint for the collection. This parameter is required.- Returns:
this- See Also:
-
indexName
The name of the OpenSearch Serverless index.- Parameters:
indexName- The name of the OpenSearch Serverless index. This parameter is required.- Returns:
this- See Also:
-
mappings
Index mappings for the OpenSearch Serverless index.- Parameters:
mappings- Index mappings for the OpenSearch Serverless index. This parameter is required.- Returns:
this- See Also:
-
mappings
@Stability(Stable) public CfnIndexPropsMixin.Builder mappings(CfnIndexPropsMixin.MappingsProperty mappings) Index mappings for the OpenSearch Serverless index.- Parameters:
mappings- Index mappings for the OpenSearch Serverless index. This parameter is required.- Returns:
this- See Also:
-
settings
Index settings for the OpenSearch Serverless index.- Parameters:
settings- Index settings for the OpenSearch Serverless index. This parameter is required.- Returns:
this- See Also:
-
settings
@Stability(Stable) public CfnIndexPropsMixin.Builder settings(CfnIndexPropsMixin.IndexSettingsProperty settings) Index settings for the OpenSearch Serverless index.- Parameters:
settings- Index settings for the OpenSearch Serverless index. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin>- Returns:
- a newly built instance of
CfnIndexPropsMixin.
-