Interface CreateFlowAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<CreateFlowAliasRequest.Builder,CreateFlowAliasRequest>,SdkBuilder<CreateFlowAliasRequest.Builder,CreateFlowAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFlowAliasRequest
public static interface CreateFlowAliasRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<CreateFlowAliasRequest.Builder,CreateFlowAliasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFlowAliasRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier to ensure that the API request completes no more than one time.CreateFlowAliasRequest.Builderdescription(String description)A description for the alias.CreateFlowAliasRequest.BuilderflowIdentifier(String flowIdentifier)The unique identifier of the flow for which to create an alias.CreateFlowAliasRequest.Buildername(String name)A name for the alias.CreateFlowAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFlowAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFlowAliasRequest.BuilderroutingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration)Contains information about the version to which to map the alias.CreateFlowAliasRequest.BuilderroutingConfiguration(Consumer<FlowAliasRoutingConfigurationListItem.Builder>... routingConfiguration)Contains information about the version to which to map the alias.CreateFlowAliasRequest.BuilderroutingConfiguration(FlowAliasRoutingConfigurationListItem... routingConfiguration)Contains information about the version to which to map the alias.CreateFlowAliasRequest.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
clientToken
CreateFlowAliasRequest.Builder clientToken(String 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.
-
description
CreateFlowAliasRequest.Builder description(String 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
CreateFlowAliasRequest.Builder flowIdentifier(String 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
CreateFlowAliasRequest.Builder name(String 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.Builderavoiding the need to create one manually viaFlowAliasRoutingConfigurationListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routingConfiguration(List.) - 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:
#routingConfiguration(java.util.Collection)
-
tags
CreateFlowAliasRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFlowAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-