Interface CfnIndex.MethodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndex.MethodProperty.Jsii$Proxy
- Enclosing class:
CfnIndex
@Stability(Stable)
public static interface CfnIndex.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.services.opensearchserverless.*;
MethodProperty methodProperty = MethodProperty.builder()
.name("name")
// the properties below are optional
.engine("engine")
.parameters(ParametersProperty.builder()
.efConstruction(123)
.m(123)
.build())
.spaceType("spaceType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndex.MethodPropertystatic final classAn implementation forCfnIndex.MethodProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The algorithm name for k-NN search.- See Also:
-
getEngine
The k-NN search engine to use.- See Also:
-
getParameters
Additional parameters for the k-NN algorithm.Returns union: either
IResolvableorCfnIndex.ParametersProperty- See Also:
-
getSpaceType
The distance function used for k-NN search.- See Also:
-
builder
- Returns:
- a
CfnIndex.MethodProperty.BuilderofCfnIndex.MethodProperty
-