Class PromptVersion.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.PromptVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PromptVersion>
- Enclosing class:
PromptVersion
@Stability(Experimental)
public static final class PromptVersion.Builder
extends Object
implements software.amazon.jsii.Builder<PromptVersion>
(experimental) A fluent builder for
PromptVersion
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static PromptVersion.Builder
description
(String description) (experimental) The description of the prompt version.(experimental) The prompt to use for this version.
-
Method Details
-
create
@Stability(Experimental) public static PromptVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
PromptVersion.Builder
.
-
prompt
(experimental) The prompt to use for this version.- Parameters:
prompt
- The prompt to use for this version. This parameter is required.- Returns:
this
-
description
(experimental) The description of the prompt version.Default: - No description provided. Maximum length: 200
- Parameters:
description
- The description of the prompt version. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PromptVersion>
- Returns:
- a newly built instance of
PromptVersion
.
-