Class CfnIndexPropsMixin.IndexCapacityConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnIndexPropsMixin.IndexCapacityConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin.IndexCapacityConfigurationProperty>
- Enclosing interface:
CfnIndexPropsMixin.IndexCapacityConfigurationProperty
@Stability(Stable)
public static final class CfnIndexPropsMixin.IndexCapacityConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin.IndexCapacityConfigurationProperty>
A builder for
CfnIndexPropsMixin.IndexCapacityConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIndexPropsMixin.IndexCapacityConfigurationProperty.getUnits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
units
@Stability(Stable) public CfnIndexPropsMixin.IndexCapacityConfigurationProperty.Builder units(Number units) Sets the value ofCfnIndexPropsMixin.IndexCapacityConfigurationProperty.getUnits()- Parameters:
units- The number of storage units configured for an Amazon Q Business index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin.IndexCapacityConfigurationProperty>- Returns:
- a new instance of
CfnIndexPropsMixin.IndexCapacityConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-