Class CfnIndexPropsMixin.ParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnIndexPropsMixin.ParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin.ParametersProperty>
- Enclosing interface:
CfnIndexPropsMixin.ParametersProperty
@Stability(Stable)
public static final class CfnIndexPropsMixin.ParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin.ParametersProperty>
A builder for
CfnIndexPropsMixin.ParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.efConstruction(Number efConstruction) Sets the value ofCfnIndexPropsMixin.ParametersProperty.getEfConstruction()Sets the value ofCfnIndexPropsMixin.ParametersProperty.getM()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
efConstruction
@Stability(Stable) public CfnIndexPropsMixin.ParametersProperty.Builder efConstruction(Number efConstruction) Sets the value ofCfnIndexPropsMixin.ParametersProperty.getEfConstruction()- Parameters:
efConstruction- The size of the dynamic list used during k-NN graph creation.- Returns:
this
-
m
Sets the value ofCfnIndexPropsMixin.ParametersProperty.getM()- Parameters:
m- Number of neighbors to consider during k-NN search.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin.ParametersProperty>- Returns:
- a new instance of
CfnIndexPropsMixin.ParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-