Class CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instructions(String instructions) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getItems()items(IResolvable items) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getItems()Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getRefId()Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getTitle()Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instructions
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder instructions(String instructions) - Parameters:
instructions- The instructions of the section.- Returns:
this
-
items
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder items(IResolvable items) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getItems()- Parameters:
items- The items of the section. Minimum : 1- Returns:
this
-
items
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder items(List<? extends Object> items) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getItems()- Parameters:
items- The items of the section. Minimum : 1- Returns:
this
-
refId
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder refId(String refId) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getRefId()- Parameters:
refId- The identifier of the section. An identifier must be unique within the evaluation form. Length Constraints : Minimum length of 1. Maximum length of 40.- Returns:
this
-
title
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder title(String title) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getTitle()- Parameters:
title- The title of the section. Length Constraints : Minimum length of 1. Maximum length of 128.- Returns:
this
-
weight
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder weight(Number weight) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.getWeight()- Parameters:
weight- The scoring weight of the section. Minimum : 0Maximum : 100
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-