Class CfnCollection.VectorOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnCollection.VectorOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollection.VectorOptionsProperty>
- Enclosing interface:
CfnCollection.VectorOptionsProperty
@Stability(Stable)
public static final class CfnCollection.VectorOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollection.VectorOptionsProperty>
A builder for
CfnCollection.VectorOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serverlessVectorAcceleration(String serverlessVectorAcceleration) Sets the value ofCfnCollection.VectorOptionsProperty.getServerlessVectorAcceleration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serverlessVectorAcceleration
@Stability(Stable) public CfnCollection.VectorOptionsProperty.Builder serverlessVectorAcceleration(String serverlessVectorAcceleration) Sets the value ofCfnCollection.VectorOptionsProperty.getServerlessVectorAcceleration()- Parameters:
serverlessVectorAcceleration- Indicates whether GPU acceleration is enabled for vector indexing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollection.VectorOptionsProperty>- Returns:
- a new instance of
CfnCollection.VectorOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-