Interface CreateFlowAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<CreateFlowAliasRequest.Builder,
,CreateFlowAliasRequest> SdkBuilder<CreateFlowAliasRequest.Builder,
,CreateFlowAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFlowAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.default CreateFlowAliasRequest.Builder
concurrencyConfiguration
(Consumer<FlowAliasConcurrencyConfiguration.Builder> concurrencyConfiguration) The configuration that specifies how nodes in the flow are executed in parallel.concurrencyConfiguration
(FlowAliasConcurrencyConfiguration concurrencyConfiguration) The configuration that specifies how nodes in the flow are executed in parallel.description
(String description) A description for the alias.flowIdentifier
(String flowIdentifier) The unique identifier of the flow for which to create an alias.A name for the alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routingConfiguration
(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration) Contains information about the version to which to map the alias.routingConfiguration
(Consumer<FlowAliasRoutingConfigurationListItem.Builder>... routingConfiguration) Contains information about the version to which to map the alias.routingConfiguration
(FlowAliasRoutingConfigurationListItem... routingConfiguration) Contains information about the version to which to map the alias.Any tags that you want to attach to the alias of the flow.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
concurrencyConfiguration
CreateFlowAliasRequest.Builder concurrencyConfiguration(FlowAliasConcurrencyConfiguration concurrencyConfiguration) The configuration that specifies how nodes in the flow are executed in parallel.
- Parameters:
concurrencyConfiguration
- The configuration that specifies how nodes in the flow are executed in parallel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
concurrencyConfiguration
default CreateFlowAliasRequest.Builder concurrencyConfiguration(Consumer<FlowAliasConcurrencyConfiguration.Builder> concurrencyConfiguration) The configuration that specifies how nodes in the flow are executed in parallel.
This is a convenience method that creates an instance of theFlowAliasConcurrencyConfiguration.Builder
avoiding the need to create one manually viaFlowAliasConcurrencyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconcurrencyConfiguration(FlowAliasConcurrencyConfiguration)
.- Parameters:
concurrencyConfiguration
- a consumer that will call methods onFlowAliasConcurrencyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the alias.
- Parameters:
description
- A description for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowIdentifier
The unique identifier of the flow for which to create an alias.
- Parameters:
flowIdentifier
- The unique identifier of the flow for which to create an alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the alias.
- Parameters:
name
- A name for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateFlowAliasRequest.Builder routingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration) Contains information about the version to which to map the alias.
- Parameters:
routingConfiguration
- Contains information about the version to which to map the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateFlowAliasRequest.Builder routingConfiguration(FlowAliasRoutingConfigurationListItem... routingConfiguration) Contains information about the version to which to map the alias.
- Parameters:
routingConfiguration
- Contains information about the version to which to map the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateFlowAliasRequest.Builder routingConfiguration(Consumer<FlowAliasRoutingConfigurationListItem.Builder>... routingConfiguration) Contains information about the version to which to map the alias.
This is a convenience method that creates an instance of theFlowAliasRoutingConfigurationListItem.Builder
avoiding the need to create one manually viaFlowAliasRoutingConfigurationListItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfiguration(List<FlowAliasRoutingConfigurationListItem>)
.- Parameters:
routingConfiguration
- a consumer that will call methods onFlowAliasRoutingConfigurationListItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
- Parameters:
tags
- Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFlowAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFlowAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-