Class CfnAgentAliasProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgentAliasProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentAliasProps>
- Enclosing interface:
CfnAgentAliasProps
@Stability(Stable)
public static final class CfnAgentAliasProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentAliasProps>
A builder for
CfnAgentAliasProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentAliasName(String agentAliasName) Sets the value ofCfnAgentAliasProps.getAgentAliasName()Sets the value ofCfnAgentAliasProps.getAgentId()build()Builds the configured instance.description(String description) Sets the value ofCfnAgentAliasProps.getDescription()routingConfiguration(List<? extends Object> routingConfiguration) Sets the value ofCfnAgentAliasProps.getRoutingConfiguration()routingConfiguration(IResolvable routingConfiguration) Sets the value ofCfnAgentAliasProps.getRoutingConfiguration()Sets the value ofCfnAgentAliasProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentAliasName
Sets the value ofCfnAgentAliasProps.getAgentAliasName()- Parameters:
agentAliasName- The name of the alias of the agent. This parameter is required.- Returns:
this
-
agentId
Sets the value ofCfnAgentAliasProps.getAgentId()- Parameters:
agentId- The unique identifier of the agent. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAgentAliasProps.getDescription()- Parameters:
description- The description of the alias of the agent.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnAgentAliasProps.Builder routingConfiguration(IResolvable routingConfiguration) Sets the value ofCfnAgentAliasProps.getRoutingConfiguration()- Parameters:
routingConfiguration- Contains details about the routing configuration of the alias.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnAgentAliasProps.Builder routingConfiguration(List<? extends Object> routingConfiguration) Sets the value ofCfnAgentAliasProps.getRoutingConfiguration()- Parameters:
routingConfiguration- Contains details about the routing configuration of the alias.- Returns:
this
-
tags
Sets the value ofCfnAgentAliasProps.getTags()- Parameters:
tags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentAliasProps>- Returns:
- a new instance of
CfnAgentAliasProps - Throws:
NullPointerException- if any required attribute was not provided
-