Class CfnGraph.VectorSearchConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.neptunegraph.CfnGraph.VectorSearchConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraph.VectorSearchConfigurationProperty>
- Enclosing interface:
CfnGraph.VectorSearchConfigurationProperty
@Stability(Stable)
public static final class CfnGraph.VectorSearchConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraph.VectorSearchConfigurationProperty>
A builder for
CfnGraph.VectorSearchConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.vectorSearchDimension
(Number vectorSearchDimension) Sets the value ofCfnGraph.VectorSearchConfigurationProperty.getVectorSearchDimension()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vectorSearchDimension
@Stability(Stable) public CfnGraph.VectorSearchConfigurationProperty.Builder vectorSearchDimension(Number vectorSearchDimension) Sets the value ofCfnGraph.VectorSearchConfigurationProperty.getVectorSearchDimension()
- Parameters:
vectorSearchDimension
- The number of dimensions. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGraph.VectorSearchConfigurationProperty>
- Returns:
- a new instance of
CfnGraph.VectorSearchConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-