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
-
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
-
agentAliasName
CreateAgentAliasRequest.Builder agentAliasName(String agentAliasName)
The name of the alias.
- Parameters:
agentAliasName- The name of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentId
CreateAgentAliasRequest.Builder agentId(String 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.
-
clientToken
CreateAgentAliasRequest.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
CreateAgentAliasRequest.Builder description(String description)
A description of the alias of the agent.
- Parameters:
description- A description of the alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
CreateAgentAliasRequest.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
CreateAgentAliasRequest.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
CreateAgentAliasRequest.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 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)
Any tags that you want to attach to the alias of the agent.
- Parameters:
tags- Any tags that you want to attach to the alias of the agent.- 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
-
-