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 Details

    • create

      @Stability(Stable) public static CfnEvaluationForm.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnEvaluationForm.Builder.
    • instanceArn

      @Stability(Stable) public CfnEvaluationForm.Builder instanceArn(String instanceArn)
      The identifier of the Amazon Connect instance.

      Parameters:
      instanceArn - The identifier of the Amazon Connect instance. This parameter is required.
      Returns:
      this
    • items

      @Stability(Stable) public CfnEvaluationForm.Builder items(IResolvable 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

      @Stability(Stable) public CfnEvaluationForm.Builder items(List<? extends Object> 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

      @Stability(Stable) public CfnEvaluationForm.Builder status(String 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

      @Stability(Stable) public CfnEvaluationForm.Builder title(String title)
      A title of the evaluation form.

      Parameters:
      title - A title of the evaluation form. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnEvaluationForm.Builder description(String 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

      @Stability(Stable) public CfnEvaluationForm.Builder scoringStrategy(IResolvable 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

      @Stability(Stable) public CfnEvaluationForm.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnEvaluationForm build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEvaluationForm>
      Returns:
      a newly built instance of CfnEvaluationForm.