Class CfnPromptVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptVersionMixinProps>
- Enclosing interface:
CfnPromptVersionMixinProps
@Stability(Stable)
public static final class CfnPromptVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptVersionMixinProps>
A builder for
CfnPromptVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPromptVersionMixinProps.getDescription()Sets the value ofCfnPromptVersionMixinProps.getPromptArn()Sets the value ofCfnPromptVersionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPromptVersionMixinProps.getDescription()- Parameters:
description- The description of the prompt version.- Returns:
this
-
promptArn
Sets the value ofCfnPromptVersionMixinProps.getPromptArn()- Parameters:
promptArn- The Amazon Resource Name (ARN) of the version of the prompt.- Returns:
this
-
tags
Sets the value ofCfnPromptVersionMixinProps.getTags()- Parameters:
tags- A map of tags attached to the prompt version and their values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptVersionMixinProps>- Returns:
- a new instance of
CfnPromptVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-