Class AIPromptReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.wisdom.AIPromptReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AIPromptReference>
- Enclosing interface:
AIPromptReference
@Stability(Stable)
public static final class AIPromptReference.Builder
extends Object
implements software.amazon.jsii.Builder<AIPromptReference>
A builder for
AIPromptReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaiPromptArn(String aiPromptArn) Sets the value ofAIPromptReference.getAiPromptArn()aiPromptId(String aiPromptId) Sets the value ofAIPromptReference.getAiPromptId()assistantId(String assistantId) Sets the value ofAIPromptReference.getAssistantId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aiPromptArn
Sets the value ofAIPromptReference.getAiPromptArn()- Parameters:
aiPromptArn- The ARN of the AIPrompt resource. This parameter is required.- Returns:
this
-
aiPromptId
Sets the value ofAIPromptReference.getAiPromptId()- Parameters:
aiPromptId- The AIPromptId of the AIPrompt resource. This parameter is required.- Returns:
this
-
assistantId
Sets the value ofAIPromptReference.getAssistantId()- Parameters:
assistantId- The AssistantId of the AIPrompt resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AIPromptReference>- Returns:
- a new instance of
AIPromptReference - Throws:
NullPointerException- if any required attribute was not provided
-