Class CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormItemProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemProperty>
A builder for
CfnEvaluationFormPropsMixin.EvaluationFormItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getQuestion()question(IResolvable question) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getQuestion()Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getSection()section(IResolvable section) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getSection()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
question
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder question(IResolvable question) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getQuestion()- Parameters:
question- The information of the question.- Returns:
this
-
question
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder question(CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty question) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getQuestion()- Parameters:
question- The information of the question.- Returns:
this
-
section
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder section(IResolvable section) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getSection()- Parameters:
section- The information of the section.- Returns:
this
-
section
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Builder section(CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty section) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormItemProperty.getSection()- Parameters:
section- The information of the section.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormItemProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-