Interface CreateAgentAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<CreateAgentAliasRequest.Builder,CreateAgentAliasRequest>,SdkBuilder<CreateAgentAliasRequest.Builder,CreateAgentAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAgentAliasRequest
public static interface CreateAgentAliasRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<CreateAgentAliasRequest.Builder,CreateAgentAliasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAgentAliasRequest.BuilderagentAliasName(String agentAliasName)Sets the value of the AgentAliasName property for this object.CreateAgentAliasRequest.BuilderagentId(String agentId)Id generated at the server side when an Agent is createdCreateAgentAliasRequest.BuilderclientToken(String clientToken)Sets the value of the ClientToken property for this object.CreateAgentAliasRequest.Builderdescription(String description)Sets the value of the Description property for this object.CreateAgentAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAgentAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAgentAliasRequest.BuilderroutingConfiguration(Collection<AgentAliasRoutingConfigurationListItem> routingConfiguration)Sets the value of the RoutingConfiguration property for this object.CreateAgentAliasRequest.BuilderroutingConfiguration(Consumer<AgentAliasRoutingConfigurationListItem.Builder>... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.CreateAgentAliasRequest.BuilderroutingConfiguration(AgentAliasRoutingConfigurationListItem... routingConfiguration)Sets the value of the RoutingConfiguration property for this object.CreateAgentAliasRequest.Buildertags(Map<String,String> tags)Sets the value of the Tags 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
CreateAgentAliasRequest.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.
-
agentAliasName
CreateAgentAliasRequest.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.
-
clientToken
CreateAgentAliasRequest.Builder clientToken(String clientToken)
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateAgentAliasRequest.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
CreateAgentAliasRequest.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
CreateAgentAliasRequest.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
CreateAgentAliasRequest.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)
-
tags
CreateAgentAliasRequest.Builder tags(Map<String,String> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAgentAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAgentAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-