Class PromptVersionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.bedrock.PromptVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PromptVersionReference>
- Enclosing interface:
PromptVersionReference
@Stability(Stable)
public static final class PromptVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<PromptVersionReference>
A builder for
PromptVersionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.promptVersionArn(String promptVersionArn) Sets the value ofPromptVersionReference.getPromptVersionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
promptVersionArn
Sets the value ofPromptVersionReference.getPromptVersionArn()- Parameters:
promptVersionArn- The Arn of the PromptVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PromptVersionReference>- Returns:
- a new instance of
PromptVersionReference - Throws:
NullPointerException- if any required attribute was not provided
-