Class CfnExecutionPlanMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendraranking.CfnExecutionPlanMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExecutionPlanMixinProps>
- Enclosing interface:
CfnExecutionPlanMixinProps
@Stability(Stable)
public static final class CfnExecutionPlanMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExecutionPlanMixinProps>
A builder for
CfnExecutionPlanMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnExecutionPlanMixinProps.getCapacityUnits()capacityUnits(IResolvable capacityUnits) Sets the value ofCfnExecutionPlanMixinProps.getCapacityUnits()description(String description) Sets the value ofCfnExecutionPlanMixinProps.getDescription()Sets the value ofCfnExecutionPlanMixinProps.getName()Sets the value ofCfnExecutionPlanMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityUnits
@Stability(Stable) public CfnExecutionPlanMixinProps.Builder capacityUnits(IResolvable capacityUnits) Sets the value ofCfnExecutionPlanMixinProps.getCapacityUnits()- Parameters:
capacityUnits- You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity .- Returns:
this
-
capacityUnits
@Stability(Stable) public CfnExecutionPlanMixinProps.Builder capacityUnits(CfnExecutionPlanPropsMixin.CapacityUnitsConfigurationProperty capacityUnits) Sets the value ofCfnExecutionPlanMixinProps.getCapacityUnits()- Parameters:
capacityUnits- You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity .- Returns:
this
-
description
Sets the value ofCfnExecutionPlanMixinProps.getDescription()- Parameters:
description- A description for the rescore execution plan.- Returns:
this
-
name
Sets the value ofCfnExecutionPlanMixinProps.getName()- Parameters:
name- A name for the rescore execution plan.- Returns:
this
-
tags
Sets the value ofCfnExecutionPlanMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space. They can also consist of underscore, period, colon, equal, plus, and asperand.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExecutionPlanMixinProps>- Returns:
- a new instance of
CfnExecutionPlanMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-