Class CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.condition(IResolvable condition) defaultAction(String defaultAction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder action(String action) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.getAction()- Parameters:
action- An enablement action that if condition is satisfied.- Returns:
this
-
condition
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder condition(IResolvable condition) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.getCondition()- Parameters:
condition- A condition for item enablement configuration.- Returns:
this
-
condition
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder condition(CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConditionProperty condition) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.getCondition()- Parameters:
condition- A condition for item enablement configuration.- Returns:
this
-
defaultAction
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.Builder defaultAction(String defaultAction) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty.getDefaultAction()- Parameters:
defaultAction- An enablement action that if condition is not satisfied.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-