Interface UpdateFlowAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateFlowAliasRequest.Builder,,UpdateFlowAliasRequest> SdkBuilder<UpdateFlowAliasRequest.Builder,,UpdateFlowAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFlowAliasRequest
public static interface UpdateFlowAliasRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlowAliasRequest.Builder,UpdateFlowAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaliasIdentifier(String aliasIdentifier) The unique identifier of the alias.description(String description) A description for the alias.flowIdentifier(String flowIdentifier) The unique identifier of the flow.The name of 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
aliasIdentifier
The unique identifier of the alias.
- Parameters:
aliasIdentifier- The unique identifier of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
flowIdentifier- The unique identifier of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the alias.
- Parameters:
name- The name of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateFlowAliasRequest.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
UpdateFlowAliasRequest.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
UpdateFlowAliasRequest.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 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:
-
overrideConfiguration
UpdateFlowAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFlowAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-