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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAgentAliasRequest.BuilderagentAliasId(String agentAliasId)Id generated at the server side when an Agent Alias is createdUpdateAgentAliasRequest.BuilderagentAliasName(String agentAliasName)Sets the value of the AgentAliasName property for this object.UpdateAgentAliasRequest.BuilderagentId(String agentId)Id generated at the server side when an Agent is createdUpdateAgentAliasRequest.Builderdescription(String description)Sets the value of the Description property for this object.UpdateAgentAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAgentAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateAgentAliasRequest.BuilderroutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)Sets the value of the RoutingConfiguration property for this object.UpdateAgentAliasRequest.BuilderroutingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.UpdateAgentAliasRequest.BuilderroutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.-
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
-
agentId
UpdateAgentAliasRequest.Builder agentId(String agentId)
Id generated at the server side when an Agent is created
- Parameters:
agentId- Id generated at the server side when an Agent is created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasId
UpdateAgentAliasRequest.Builder agentAliasId(String agentAliasId)
Id generated at the server side when an Agent Alias is created
- Parameters:
agentAliasId- Id generated at the server side when an Agent Alias is created- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasName
UpdateAgentAliasRequest.Builder agentAliasName(String agentAliasName)
Sets the value of the AgentAliasName property for this object.- Parameters:
agentAliasName- The new value for the AgentAliasName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateAgentAliasRequest.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)
Sets the value of the RoutingConfiguration property for this object.- Parameters:
routingConfiguration- The new value for the RoutingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)
Sets the value of the RoutingConfiguration property for this object.- Parameters:
routingConfiguration- The new value for the RoutingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
UpdateAgentAliasRequest.Builder routingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration)
Sets the value of the RoutingConfiguration property for this object. 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 to#routingConfiguration(List.) - 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:
#routingConfiguration(java.util.Collection)
-
overrideConfiguration
UpdateAgentAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAgentAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-