Class AgentAliasReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.bedrock.AgentAliasReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentAliasReference>
- Enclosing interface:
AgentAliasReference
@Stability(Stable)
public static final class AgentAliasReference.Builder
extends Object
implements software.amazon.jsii.Builder<AgentAliasReference>
A builder for
AgentAliasReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentAliasArn(String agentAliasArn) Sets the value ofAgentAliasReference.getAgentAliasArn()agentAliasId(String agentAliasId) Sets the value ofAgentAliasReference.getAgentAliasId()Sets the value ofAgentAliasReference.getAgentId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentAliasArn
Sets the value ofAgentAliasReference.getAgentAliasArn()- Parameters:
agentAliasArn- The ARN of the AgentAlias resource. This parameter is required.- Returns:
this
-
agentAliasId
Sets the value ofAgentAliasReference.getAgentAliasId()- Parameters:
agentAliasId- The AgentAliasId of the AgentAlias resource. This parameter is required.- Returns:
this
-
agentId
Sets the value ofAgentAliasReference.getAgentId()- Parameters:
agentId- The AgentId of the AgentAlias resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AgentAliasReference>- Returns:
- a new instance of
AgentAliasReference - Throws:
NullPointerException- if any required attribute was not provided
-