Class CfnEvaluationFormMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormMixinProps>
- Enclosing interface:
CfnEvaluationFormMixinProps
@Stability(Stable)
public static final class CfnEvaluationFormMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormMixinProps>
A builder for
CfnEvaluationFormMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoEvaluationConfiguration(CfnEvaluationFormPropsMixin.AutoEvaluationConfigurationProperty autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getAutoEvaluationConfiguration()autoEvaluationConfiguration(IResolvable autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getAutoEvaluationConfiguration()build()Builds the configured instance.description(String description) Sets the value ofCfnEvaluationFormMixinProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnEvaluationFormMixinProps.getInstanceArn()instanceArn(IInstanceRef instanceArn) Sets the value ofCfnEvaluationFormMixinProps.getInstanceArn()Sets the value ofCfnEvaluationFormMixinProps.getItems()items(IResolvable items) Sets the value ofCfnEvaluationFormMixinProps.getItems()languageConfiguration(CfnEvaluationFormPropsMixin.EvaluationFormLanguageConfigurationProperty languageConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getLanguageConfiguration()languageConfiguration(IResolvable languageConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getLanguageConfiguration()reviewConfiguration(CfnEvaluationFormPropsMixin.EvaluationReviewConfigurationProperty reviewConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getReviewConfiguration()reviewConfiguration(IResolvable reviewConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getReviewConfiguration()scoringStrategy(CfnEvaluationFormPropsMixin.ScoringStrategyProperty scoringStrategy) Sets the value ofCfnEvaluationFormMixinProps.getScoringStrategy()scoringStrategy(IResolvable scoringStrategy) Sets the value ofCfnEvaluationFormMixinProps.getScoringStrategy()Sets the value ofCfnEvaluationFormMixinProps.getStatus()Sets the value ofCfnEvaluationFormMixinProps.getTags()targetConfiguration(CfnEvaluationFormPropsMixin.EvaluationFormTargetConfigurationProperty targetConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getTargetConfiguration()targetConfiguration(IResolvable targetConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getTargetConfiguration()Sets the value ofCfnEvaluationFormMixinProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoEvaluationConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder autoEvaluationConfiguration(IResolvable autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getAutoEvaluationConfiguration()- Parameters:
autoEvaluationConfiguration- The automatic evaluation configuration of an evaluation form.- Returns:
this
-
autoEvaluationConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder autoEvaluationConfiguration(CfnEvaluationFormPropsMixin.AutoEvaluationConfigurationProperty autoEvaluationConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getAutoEvaluationConfiguration()- Parameters:
autoEvaluationConfiguration- The automatic evaluation configuration of an evaluation form.- Returns:
this
-
description
Sets the value ofCfnEvaluationFormMixinProps.getDescription()- Parameters:
description- The description of the evaluation form. Length Constraints : Minimum length of 0. Maximum length of 1024.- Returns:
this
-
instanceArn
Sets the value ofCfnEvaluationFormMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
instanceArn
Sets the value ofCfnEvaluationFormMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
items
Sets the value ofCfnEvaluationFormMixinProps.getItems()- Parameters:
items- Items that are part of the evaluation form. 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 ofCfnEvaluationFormMixinProps.getItems()- Parameters:
items- Items that are part of the evaluation form. 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
-
languageConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder languageConfiguration(IResolvable languageConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getLanguageConfiguration()- Parameters:
languageConfiguration- Configuration for language settings of this evaluation form.- Returns:
this
-
languageConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder languageConfiguration(CfnEvaluationFormPropsMixin.EvaluationFormLanguageConfigurationProperty languageConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getLanguageConfiguration()- Parameters:
languageConfiguration- Configuration for language settings of this evaluation form.- Returns:
this
-
reviewConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder reviewConfiguration(IResolvable reviewConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getReviewConfiguration()- Parameters:
reviewConfiguration- Configuration settings for evaluation reviews.- Returns:
this
-
reviewConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder reviewConfiguration(CfnEvaluationFormPropsMixin.EvaluationReviewConfigurationProperty reviewConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getReviewConfiguration()- Parameters:
reviewConfiguration- Configuration settings for evaluation reviews.- Returns:
this
-
scoringStrategy
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder scoringStrategy(IResolvable scoringStrategy) Sets the value ofCfnEvaluationFormMixinProps.getScoringStrategy()- Parameters:
scoringStrategy- A scoring strategy of the evaluation form.- Returns:
this
-
scoringStrategy
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder scoringStrategy(CfnEvaluationFormPropsMixin.ScoringStrategyProperty scoringStrategy) Sets the value ofCfnEvaluationFormMixinProps.getScoringStrategy()- Parameters:
scoringStrategy- A scoring strategy of the evaluation form.- Returns:
this
-
status
Sets the value ofCfnEvaluationFormMixinProps.getStatus()- Parameters:
status- The status of the evaluation form. Allowed values :DRAFT|ACTIVE- Returns:
this
-
tags
Sets the value ofCfnEvaluationFormMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
targetConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder targetConfiguration(IResolvable targetConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getTargetConfiguration()- Parameters:
targetConfiguration- Configuration that specifies the target for this evaluation form.- Returns:
this
-
targetConfiguration
@Stability(Stable) public CfnEvaluationFormMixinProps.Builder targetConfiguration(CfnEvaluationFormPropsMixin.EvaluationFormTargetConfigurationProperty targetConfiguration) Sets the value ofCfnEvaluationFormMixinProps.getTargetConfiguration()- Parameters:
targetConfiguration- Configuration that specifies the target for this evaluation form.- Returns:
this
-
title
Sets the value ofCfnEvaluationFormMixinProps.getTitle()- Parameters:
title- A title of the evaluation form.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormMixinProps>- Returns:
- a new instance of
CfnEvaluationFormMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-