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