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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPrompt.Builder
description
(String description) The description of the prompt.instanceArn
(String instanceArn) The identifier of the Amazon Connect instance.The name of the prompt.The URI for the S3 bucket where the prompt is stored.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPrompt.Builder
.
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn
- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
name
The name of the prompt.- Parameters:
name
- The name of the prompt. This parameter is required.- Returns:
this
-
description
The description of the prompt.- Parameters:
description
- The description of the prompt. This parameter is required.- Returns:
this
-
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
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
-