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