Class AgentAliasProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.AgentAliasProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentAliasProps>
- Enclosing interface:
AgentAliasProps
@Stability(Experimental)
public static final class AgentAliasProps.Builder
extends Object
implements software.amazon.jsii.Builder<AgentAliasProps>
A builder for
AgentAliasProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAgentAliasProps.getAgent()agentAliasName(String agentAliasName) Sets the value ofAgentAliasProps.getAgentAliasName()agentVersion(String agentVersion) Sets the value ofAgentAliasProps.getAgentVersion()build()Builds the configured instance.description(String description) Sets the value ofAgentAliasProps.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agent
Sets the value ofAgentAliasProps.getAgent()- Parameters:
agent- The agent associated to this alias. This parameter is required.- Returns:
this
-
agentAliasName
Sets the value ofAgentAliasProps.getAgentAliasName()- Parameters:
agentAliasName- The name for the agent alias. This will be used as the physical name of the agent alias.- Returns:
this
-
agentVersion
Sets the value ofAgentAliasProps.getAgentVersion()- Parameters:
agentVersion- The version of the agent to associate with the agent alias.- Returns:
this
-
description
Sets the value ofAgentAliasProps.getDescription()- Parameters:
description- Description for the agent alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AgentAliasProps>- Returns:
- a new instance of
AgentAliasProps - Throws:
NullPointerException- if any required attribute was not provided
-