Interface UpdateAgentAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateAgentAliasRequest.Builder,,UpdateAgentAliasRequest> SdkBuilder<UpdateAgentAliasRequest.Builder,,UpdateAgentAliasRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAgentAliasRequest
public static interface UpdateAgentAliasRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateAgentAliasRequest.Builder,UpdateAgentAliasRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentAliasId(String agentAliasId) The unique identifier of the alias.agentAliasName(String agentAliasName) Specifies a new name for the alias.The unique identifier of the agent.description(String description) Specifies a new description 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<AgentAliasRoutingConfigurationListItem> routingConfiguration) Contains details about the routing configuration of the alias.routingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration) Contains details about the routing configuration of the alias.routingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration) Contains details about the routing configuration of 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
-
agentAliasId
The unique identifier of the alias.
- Parameters:
agentAliasId- The unique identifier of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasName
Specifies a new name for the alias.
- Parameters:
agentAliasName- Specifies a new name for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentId
The unique identifier of the agent.
- Parameters:
agentId- The unique identifier of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Specifies a new description for the alias.
- Parameters:
description- Specifies a new description for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration) Contains details about the routing configuration of the alias.
- Parameters:
routingConfiguration- Contains details about the routing configuration of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration) Contains details about the routing configuration of the alias.
- Parameters:
routingConfiguration- Contains details about the routing configuration of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration) Contains details about the routing configuration of the alias.
This is a convenience method that creates an instance of theAgentAliasRoutingConfigurationListItem.Builderavoiding the need to create one manually viaAgentAliasRoutingConfigurationListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingConfiguration(List<AgentAliasRoutingConfigurationListItem>).- Parameters:
routingConfiguration- a consumer that will call methods onAgentAliasRoutingConfigurationListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAgentAliasRequest.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
UpdateAgentAliasRequest.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.
-