Class CfnAgentAlias.AgentAliasHistoryEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAgentAlias.AgentAliasHistoryEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentAlias.AgentAliasHistoryEventProperty>
- Enclosing interface:
CfnAgentAlias.AgentAliasHistoryEventProperty
@Stability(Stable)
public static final class CfnAgentAlias.AgentAliasHistoryEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentAlias.AgentAliasHistoryEventProperty>
A builder for
CfnAgentAlias.AgentAliasHistoryEventProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getEndDate()
routingConfiguration
(List<? extends Object> routingConfiguration) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getRoutingConfiguration()
routingConfiguration
(IResolvable routingConfiguration) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getRoutingConfiguration()
Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getStartDate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endDate
@Stability(Stable) public CfnAgentAlias.AgentAliasHistoryEventProperty.Builder endDate(String endDate) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getEndDate()
- Parameters:
endDate
- The date that the alias stopped being associated to the version in theroutingConfiguration
object.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnAgentAlias.AgentAliasHistoryEventProperty.Builder routingConfiguration(IResolvable routingConfiguration) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getRoutingConfiguration()
- Parameters:
routingConfiguration
- Contains details about the version of the agent with which the alias is associated.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnAgentAlias.AgentAliasHistoryEventProperty.Builder routingConfiguration(List<? extends Object> routingConfiguration) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getRoutingConfiguration()
- Parameters:
routingConfiguration
- Contains details about the version of the agent with which the alias is associated.- Returns:
this
-
startDate
@Stability(Stable) public CfnAgentAlias.AgentAliasHistoryEventProperty.Builder startDate(String startDate) Sets the value ofCfnAgentAlias.AgentAliasHistoryEventProperty.getStartDate()
- Parameters:
startDate
- The date that the alias began being associated to the version in theroutingConfiguration
object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAgentAlias.AgentAliasHistoryEventProperty>
- Returns:
- a new instance of
CfnAgentAlias.AgentAliasHistoryEventProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-