Class CfnDomain.ServerlessVectorAccelerationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.ServerlessVectorAccelerationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.ServerlessVectorAccelerationProperty>
- Enclosing interface:
CfnDomain.ServerlessVectorAccelerationProperty
@Stability(Stable)
public static final class CfnDomain.ServerlessVectorAccelerationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.ServerlessVectorAccelerationProperty>
A builder for
CfnDomain.ServerlessVectorAccelerationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomain.ServerlessVectorAccelerationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.ServerlessVectorAccelerationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDomain.ServerlessVectorAccelerationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomain.ServerlessVectorAccelerationProperty.getEnabled()- Parameters:
enabled- Whether to enable serverless vector acceleration.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomain.ServerlessVectorAccelerationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomain.ServerlessVectorAccelerationProperty.getEnabled()- Parameters:
enabled- Whether to enable serverless vector acceleration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.ServerlessVectorAccelerationProperty>- Returns:
- a new instance of
CfnDomain.ServerlessVectorAccelerationProperty - Throws:
NullPointerException- if any required attribute was not provided
-