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