Interface CfnIndexPropsMixin.MethodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndexPropsMixin.MethodProperty.Jsii$Proxy
- Enclosing class:
CfnIndexPropsMixin
@Stability(Stable)
public static interface CfnIndexPropsMixin.MethodProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for k-NN search method.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.*;
MethodProperty methodProperty = MethodProperty.builder()
.engine("engine")
.name("name")
.parameters(ParametersProperty.builder()
.efConstruction(123)
.m(123)
.build())
.spaceType("spaceType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndexPropsMixin.MethodPropertystatic final classAn implementation forCfnIndexPropsMixin.MethodProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngine
The k-NN search engine to use.- See Also:
-
getName
The algorithm name for k-NN search.- See Also:
-
getParameters
Additional parameters for the k-NN algorithm.Returns union: either
IResolvableorCfnIndexPropsMixin.ParametersProperty- See Also:
-
getSpaceType
The distance function used for k-NN search.- See Also:
-
builder
-