Class CfnFlowAliasProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowAliasProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowAliasProps>
- Enclosing interface:
CfnFlowAliasProps
@Stability(Stable)
public static final class CfnFlowAliasProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowAliasProps>
A builder for
CfnFlowAliasProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.concurrencyConfiguration(IResolvable concurrencyConfiguration) Sets the value ofCfnFlowAliasProps.getConcurrencyConfiguration()concurrencyConfiguration(CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty concurrencyConfiguration) Sets the value ofCfnFlowAliasProps.getConcurrencyConfiguration()description(String description) Sets the value ofCfnFlowAliasProps.getDescription()Sets the value ofCfnFlowAliasProps.getFlowArn()Sets the value ofCfnFlowAliasProps.getName()routingConfiguration(List<? extends Object> routingConfiguration) Sets the value ofCfnFlowAliasProps.getRoutingConfiguration()routingConfiguration(IResolvable routingConfiguration) Sets the value ofCfnFlowAliasProps.getRoutingConfiguration()Sets the value ofCfnFlowAliasProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowArn
Sets the value ofCfnFlowAliasProps.getFlowArn()- Parameters:
flowArn- The Amazon Resource Name (ARN) of the alias. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnFlowAliasProps.getName()- Parameters:
name- The name of the alias. This parameter is required.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnFlowAliasProps.Builder routingConfiguration(IResolvable routingConfiguration) Sets the value ofCfnFlowAliasProps.getRoutingConfiguration()- Parameters:
routingConfiguration- A list of configurations about the versions that the alias maps to. This parameter is required. Currently, you can only specify one.- Returns:
this
-
routingConfiguration
@Stability(Stable) public CfnFlowAliasProps.Builder routingConfiguration(List<? extends Object> routingConfiguration) Sets the value ofCfnFlowAliasProps.getRoutingConfiguration()- Parameters:
routingConfiguration- A list of configurations about the versions that the alias maps to. This parameter is required. Currently, you can only specify one.- Returns:
this
-
concurrencyConfiguration
@Stability(Stable) public CfnFlowAliasProps.Builder concurrencyConfiguration(IResolvable concurrencyConfiguration) Sets the value ofCfnFlowAliasProps.getConcurrencyConfiguration()- Parameters:
concurrencyConfiguration- The configuration that specifies how nodes in the flow are executed concurrently.- Returns:
this
-
concurrencyConfiguration
@Stability(Stable) public CfnFlowAliasProps.Builder concurrencyConfiguration(CfnFlowAlias.FlowAliasConcurrencyConfigurationProperty concurrencyConfiguration) Sets the value ofCfnFlowAliasProps.getConcurrencyConfiguration()- Parameters:
concurrencyConfiguration- The configuration that specifies how nodes in the flow are executed concurrently.- Returns:
this
-
description
Sets the value ofCfnFlowAliasProps.getDescription()- Parameters:
description- A description of the alias.- Returns:
this
-
tags
Sets the value ofCfnFlowAliasProps.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<CfnFlowAliasProps>- Returns:
- a new instance of
CfnFlowAliasProps - Throws:
NullPointerException- if any required attribute was not provided
-