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