Class CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendraranking.CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty>
- Enclosing interface:
CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty
@Stability(Stable)
public static final class CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.rescoreCapacityUnits(Number rescoreCapacityUnits)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rescoreCapacityUnits
@Stability(Stable) public CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty.Builder rescoreCapacityUnits(Number rescoreCapacityUnits) Sets the value ofCfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty.getRescoreCapacityUnits()- Parameters:
rescoreCapacityUnits- The amount of extra capacity for your rescore execution plan. A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty>- Returns:
- a new instance of
CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-