Class CfnEvaluationFormProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationFormProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormProps>
- Enclosing interface:
CfnEvaluationFormProps
@Stability(Stable)
public static final class CfnEvaluationFormProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormProps>
A builder for
CfnEvaluationFormProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoEvaluationConfiguration(IResolvable autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormProps.getAutoEvaluationConfiguration()autoEvaluationConfiguration(CfnEvaluationForm.AutoEvaluationConfigurationProperty autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormProps.getAutoEvaluationConfiguration()build()Builds the configured instance.description(String description) Sets the value ofCfnEvaluationFormProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnEvaluationFormProps.getInstanceArn()Sets the value ofCfnEvaluationFormProps.getItems()items(IResolvable items) Sets the value ofCfnEvaluationFormProps.getItems()scoringStrategy(IResolvable scoringStrategy) Sets the value ofCfnEvaluationFormProps.getScoringStrategy()scoringStrategy(CfnEvaluationForm.ScoringStrategyProperty scoringStrategy) Sets the value ofCfnEvaluationFormProps.getScoringStrategy()Sets the value ofCfnEvaluationFormProps.getStatus()Sets the value ofCfnEvaluationFormProps.getTags()Sets the value ofCfnEvaluationFormProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnEvaluationFormProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
items
Sets the value ofCfnEvaluationFormProps.getItems()- Parameters:
items- Items that are part of the evaluation form. This parameter is required. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.Minimum size : 1
Maximum size : 100
- Returns:
this
-
items
Sets the value ofCfnEvaluationFormProps.getItems()- Parameters:
items- Items that are part of the evaluation form. This parameter is required. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.Minimum size : 1
Maximum size : 100
- Returns:
this
-
status
Sets the value ofCfnEvaluationFormProps.getStatus()- Parameters:
status- The status of the evaluation form. This parameter is required. Allowed values :DRAFT|ACTIVE- Returns:
this
-
title
Sets the value ofCfnEvaluationFormProps.getTitle()- Parameters:
title- A title of the evaluation form. This parameter is required.- Returns:
this
-
autoEvaluationConfiguration
@Stability(Stable) public CfnEvaluationFormProps.Builder autoEvaluationConfiguration(IResolvable autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormProps.getAutoEvaluationConfiguration()- Parameters:
autoEvaluationConfiguration- The automatic evaluation configuration of an evaluation form.- Returns:
this
-
autoEvaluationConfiguration
@Stability(Stable) public CfnEvaluationFormProps.Builder autoEvaluationConfiguration(CfnEvaluationForm.AutoEvaluationConfigurationProperty autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormProps.getAutoEvaluationConfiguration()- Parameters:
autoEvaluationConfiguration- The automatic evaluation configuration of an evaluation form.- Returns:
this
-
description
Sets the value ofCfnEvaluationFormProps.getDescription()- Parameters:
description- The description of the evaluation form. Length Constraints : Minimum length of 0. Maximum length of 1024.- Returns:
this
-
scoringStrategy
@Stability(Stable) public CfnEvaluationFormProps.Builder scoringStrategy(IResolvable scoringStrategy) Sets the value ofCfnEvaluationFormProps.getScoringStrategy()- Parameters:
scoringStrategy- A scoring strategy of the evaluation form.- Returns:
this
-
scoringStrategy
@Stability(Stable) public CfnEvaluationFormProps.Builder scoringStrategy(CfnEvaluationForm.ScoringStrategyProperty scoringStrategy) Sets the value ofCfnEvaluationFormProps.getScoringStrategy()- Parameters:
scoringStrategy- A scoring strategy of the evaluation form.- Returns:
this
-
tags
Sets the value ofCfnEvaluationFormProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormProps>- Returns:
- a new instance of
CfnEvaluationFormProps - Throws:
NullPointerException- if any required attribute was not provided
-