Class CfnPrompt.Builder

java.lang.Object
software.amazon.awscdk.services.connect.CfnPrompt.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrompt>
Enclosing class:
CfnPrompt

@Stability(Stable) public static final class CfnPrompt.Builder extends Object implements software.amazon.jsii.Builder<CfnPrompt>
A fluent builder for CfnPrompt.
  • Method Details

    • create

      @Stability(Stable) public static CfnPrompt.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 CfnPrompt.Builder.
    • instanceArn

      @Stability(Stable) public CfnPrompt.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
    • name

      @Stability(Stable) public CfnPrompt.Builder name(String name)
      The name of the prompt.

      Parameters:
      name - The name of the prompt. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnPrompt.Builder description(String description)
      The description of the prompt.

      Parameters:
      description - The description of the prompt. This parameter is required.
      Returns:
      this
    • s3Uri

      @Stability(Stable) public CfnPrompt.Builder s3Uri(String s3Uri)
      The URI for the S3 bucket where the prompt is stored.

      Parameters:
      s3Uri - The URI for the S3 bucket where the prompt is stored. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPrompt.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 CfnPrompt build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPrompt>
      Returns:
      a newly built instance of CfnPrompt.