Class CfnPromptMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnPromptMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptMixinProps>
- Enclosing interface:
CfnPromptMixinProps
@Stability(Stable)
public static final class CfnPromptMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptMixinProps>
A builder for
CfnPromptMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPromptMixinProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnPromptMixinProps.getInstanceArn()instanceArn(IInstanceRef instanceArn) Sets the value ofCfnPromptMixinProps.getInstanceArn()Sets the value ofCfnPromptMixinProps.getName()Sets the value ofCfnPromptMixinProps.getS3Uri()Sets the value ofCfnPromptMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPromptMixinProps.getDescription()- Parameters:
description- The description of the prompt.- Returns:
this
-
instanceArn
Sets the value ofCfnPromptMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
instanceArn
Sets the value ofCfnPromptMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
name
Sets the value ofCfnPromptMixinProps.getName()- Parameters:
name- The name of the prompt.- Returns:
this
-
s3Uri
Sets the value ofCfnPromptMixinProps.getS3Uri()- Parameters:
s3Uri- The URI for the S3 bucket where the prompt is stored. This property is required when you create a prompt.- Returns:
this
-
tags
Sets the value ofCfnPromptMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptMixinProps>- Returns:
- a new instance of
CfnPromptMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-