Interface CreateAgentAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<CreateAgentAliasRequest.Builder,
,CreateAgentAliasRequest> SdkBuilder<CreateAgentAliasRequest.Builder,
,CreateAgentAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAgentAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentAliasName
(String agentAliasName) The name of the alias.The unique identifier of the agent.clientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.description
(String description) A description of the alias of the agent.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.Any tags that you want to attach to the alias of the agent.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaAgentAliasRoutingConfigurationListItem.builder()
.When the
Consumer
completes,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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAgentAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-