Class CfnEvaluationForm.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm>
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static final class CfnEvaluationForm.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm>
A fluent builder for
CfnEvaluationForm
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnEvaluationForm.Builder
description
(String description) The description of the evaluation form.instanceArn
(String instanceArn) The identifier of the Amazon Connect instance.Items that are part of the evaluation form.items
(IResolvable items) Items that are part of the evaluation form.scoringStrategy
(IResolvable scoringStrategy) A scoring strategy of the evaluation form.scoringStrategy
(CfnEvaluationForm.ScoringStrategyProperty scoringStrategy) A scoring strategy of the evaluation form.The status of the evaluation form.The tags used to organize, track, or control access for this resource.A title of the evaluation form.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEvaluationForm.Builder
.
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn
- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
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
- Parameters:
items
- Items that are part of the evaluation form. This parameter is required.- Returns:
this
-
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
- Parameters:
items
- Items that are part of the evaluation form. This parameter is required.- Returns:
this
-
status
The status of the evaluation form.Allowed values :
DRAFT
|ACTIVE
- Parameters:
status
- The status of the evaluation form. This parameter is required.- Returns:
this
-
title
A title of the evaluation form.- Parameters:
title
- A title of the evaluation form. This parameter is required.- Returns:
this
-
description
The description of the evaluation form.Length Constraints : Minimum length of 0. Maximum length of 1024.
- Parameters:
description
- The description of the evaluation form. This parameter is required.- Returns:
this
-
scoringStrategy
A scoring strategy of the evaluation form.- Parameters:
scoringStrategy
- A scoring strategy of the evaluation form. This parameter is required.- Returns:
this
-
scoringStrategy
@Stability(Stable) public CfnEvaluationForm.Builder scoringStrategy(CfnEvaluationForm.ScoringStrategyProperty scoringStrategy) A scoring strategy of the evaluation form.- Parameters:
scoringStrategy
- A scoring strategy of the evaluation form. This parameter is required.- Returns:
this
-
tags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm>
- Returns:
- a newly built instance of
CfnEvaluationForm
.
-