Class CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty>
- Enclosing interface:
CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty
@Stability(Stable)
public static final class CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerSource(IResolvable answerSource) build()Builds the configured instance.defaultOptionRefIds(List<String> defaultOptionRefIds) options(IResolvable options)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
options
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder options(IResolvable options) Sets the value ofCfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.getOptions()- Parameters:
options- The answer options for the automation. This parameter is required.- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder options(List<? extends Object> options) Sets the value ofCfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.getOptions()- Parameters:
options- The answer options for the automation. This parameter is required.- Returns:
this
-
answerSource
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder answerSource(IResolvable answerSource) Sets the value ofCfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.getAnswerSource()- Parameters:
answerSource- A question automation answer.- Returns:
this
-
answerSource
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder answerSource(CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty answerSource) Sets the value ofCfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.getAnswerSource()- Parameters:
answerSource- A question automation answer.- Returns:
this
-
defaultOptionRefIds
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.Builder defaultOptionRefIds(List<String> defaultOptionRefIds) Sets the value ofCfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty.getDefaultOptionRefIds()- Parameters:
defaultOptionRefIds- The list of reference id.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty>- Returns:
- a new instance of
CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty - Throws:
NullPointerException- if any required attribute was not provided
-