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
@Stability(Stable) public static CfnPrompt.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
name
The name of the prompt.- Parameters:
name
- The name of the prompt. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the prompt.- Parameters:
description
- The description of the prompt. This parameter is required.- Returns:
this
- See Also:
-
s3Uri
The URI for the S3 bucket where the prompt is stored.This property is required when you create a prompt.
- Parameters:
s3Uri
- The URI for the S3 bucket where the prompt is stored. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
-