Class CfnIndexMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnIndexMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexMixinProps>
- Enclosing interface:
CfnIndexMixinProps
@Stability(Stable)
public static final class CfnIndexMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexMixinProps>
A builder for
CfnIndexMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionEndpoint(String collectionEndpoint) Sets the value ofCfnIndexMixinProps.getCollectionEndpoint()Sets the value ofCfnIndexMixinProps.getIndexName()mappings(CfnIndexPropsMixin.MappingsProperty mappings) Sets the value ofCfnIndexMixinProps.getMappings()mappings(IResolvable mappings) Sets the value ofCfnIndexMixinProps.getMappings()Sets the value ofCfnIndexMixinProps.getSettings()settings(IResolvable settings) Sets the value ofCfnIndexMixinProps.getSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionEndpoint
Sets the value ofCfnIndexMixinProps.getCollectionEndpoint()- Parameters:
collectionEndpoint- The endpoint for the collection.- Returns:
this
-
indexName
Sets the value ofCfnIndexMixinProps.getIndexName()- Parameters:
indexName- The name of the OpenSearch Serverless index.- Returns:
this
-
mappings
Sets the value ofCfnIndexMixinProps.getMappings()- Parameters:
mappings- Index mappings for the OpenSearch Serverless index.- Returns:
this
-
mappings
@Stability(Stable) public CfnIndexMixinProps.Builder mappings(CfnIndexPropsMixin.MappingsProperty mappings) Sets the value ofCfnIndexMixinProps.getMappings()- Parameters:
mappings- Index mappings for the OpenSearch Serverless index.- Returns:
this
-
settings
Sets the value ofCfnIndexMixinProps.getSettings()- Parameters:
settings- Index settings for the OpenSearch Serverless index.- Returns:
this
-
settings
@Stability(Stable) public CfnIndexMixinProps.Builder settings(CfnIndexPropsMixin.IndexSettingsProperty settings) Sets the value ofCfnIndexMixinProps.getSettings()- Parameters:
settings- Index settings for the OpenSearch Serverless index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexMixinProps>- Returns:
- a new instance of
CfnIndexMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-