Interface AgentAlias.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentAlias.Builder,
,AgentAlias> SdkBuilder<AgentAlias.Builder,
,AgentAlias> SdkPojo
- Enclosing class:
AgentAlias
-
Method Summary
Modifier and TypeMethodDescriptionagentAliasArn
(String agentAliasArn) The Amazon Resource Name (ARN) of the alias of the agent.agentAliasHistoryEvents
(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents) Contains details about the history of the alias.agentAliasHistoryEvents
(Consumer<AgentAliasHistoryEvent.Builder>... agentAliasHistoryEvents) Contains details about the history of the alias.agentAliasHistoryEvents
(AgentAliasHistoryEvent... agentAliasHistoryEvents) Contains details about the history of the alias.agentAliasId
(String agentAliasId) The unique identifier of the alias of the agent.agentAliasName
(String agentAliasName) The name of the alias of the agent.agentAliasStatus
(String agentAliasStatus) The status of the alias of the agent and whether it is ready for use.agentAliasStatus
(AgentAliasStatus agentAliasStatus) The status of the alias of the agent and whether it is ready for use.The unique identifier of the agent.aliasInvocationState
(String aliasInvocationState) The invocation state for the agent alias.aliasInvocationState
(AliasInvocationState aliasInvocationState) The invocation state for the agent alias.clientToken
(String clientToken) A unique, case-sensitive identifier to ensure that the API request completes no more than one time.The time at which the alias of the agent was created.description
(String description) The description of the alias of the agent.failureReasons
(String... failureReasons) Information on the failure of Provisioned Throughput assigned to an agent alias.failureReasons
(Collection<String> failureReasons) Information on the failure of Provisioned Throughput assigned to an agent alias.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.The time at which the alias was last updated.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
-
agentAliasArn
The Amazon Resource Name (ARN) of the alias of the agent.
- Parameters:
agentAliasArn
- The Amazon Resource Name (ARN) of the alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
AgentAlias.Builder agentAliasHistoryEvents(Collection<AgentAliasHistoryEvent> agentAliasHistoryEvents) Contains details about the history of the alias.
- Parameters:
agentAliasHistoryEvents
- Contains details about the history of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
Contains details about the history of the alias.
- Parameters:
agentAliasHistoryEvents
- Contains details about the history of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasHistoryEvents
AgentAlias.Builder agentAliasHistoryEvents(Consumer<AgentAliasHistoryEvent.Builder>... agentAliasHistoryEvents) Contains details about the history of the alias.
This is a convenience method that creates an instance of theAgentAliasHistoryEvent.Builder
avoiding the need to create one manually viaAgentAliasHistoryEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentAliasHistoryEvents(List<AgentAliasHistoryEvent>)
.- Parameters:
agentAliasHistoryEvents
- a consumer that will call methods onAgentAliasHistoryEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentAliasId
The unique identifier of the alias of the agent.
- Parameters:
agentAliasId
- The unique identifier of the alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasName
The name of the alias of the agent.
- Parameters:
agentAliasName
- The name of the alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
-
CREATING – The agent alias is being created.
-
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
-
FAILED – The agent alias API operation failed.
-
UPDATING – The agent alias is being updated.
-
DELETING – The agent alias is being deleted.
-
DISSOCIATED - The agent alias has no version associated with it.
- Parameters:
agentAliasStatus
- The status of the alias of the agent and whether it is ready for use. The following statuses are possible:-
CREATING – The agent alias is being created.
-
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
-
FAILED – The agent alias API operation failed.
-
UPDATING – The agent alias is being updated.
-
DELETING – The agent alias is being deleted.
-
DISSOCIATED - The agent alias has no version associated with it.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
agentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
-
CREATING – The agent alias is being created.
-
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
-
FAILED – The agent alias API operation failed.
-
UPDATING – The agent alias is being updated.
-
DELETING – The agent alias is being deleted.
-
DISSOCIATED - The agent alias has no version associated with it.
- Parameters:
agentAliasStatus
- The status of the alias of the agent and whether it is ready for use. The following statuses are possible:-
CREATING – The agent alias is being created.
-
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
-
FAILED – The agent alias API operation failed.
-
UPDATING – The agent alias is being updated.
-
DELETING – The agent alias is being deleted.
-
DISSOCIATED - The agent alias has no version associated with it.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
-
aliasInvocationState
The invocation state for the agent alias. If the agent alias is running, the value is
ACCEPT_INVOCATIONS
. If the agent alias is paused, the value isREJECT_INVOCATIONS
. Use theUpdateAgentAlias
operation to change the invocation state.- Parameters:
aliasInvocationState
- The invocation state for the agent alias. If the agent alias is running, the value isACCEPT_INVOCATIONS
. If the agent alias is paused, the value isREJECT_INVOCATIONS
. Use theUpdateAgentAlias
operation to change the invocation state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aliasInvocationState
The invocation state for the agent alias. If the agent alias is running, the value is
ACCEPT_INVOCATIONS
. If the agent alias is paused, the value isREJECT_INVOCATIONS
. Use theUpdateAgentAlias
operation to change the invocation state.- Parameters:
aliasInvocationState
- The invocation state for the agent alias. If the agent alias is running, the value isACCEPT_INVOCATIONS
. If the agent alias is paused, the value isREJECT_INVOCATIONS
. Use theUpdateAgentAlias
operation to change the invocation state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
createdAt
The time at which the alias of the agent was created.
- Parameters:
createdAt
- The time at which the alias of the agent was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the alias of the agent.
- Parameters:
description
- The description of the alias of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Information on the failure of Provisioned Throughput assigned to an agent alias.
- Parameters:
failureReasons
- Information on the failure of Provisioned Throughput assigned to an agent alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Information on the failure of Provisioned Throughput assigned to an agent alias.
- Parameters:
failureReasons
- Information on the failure of Provisioned Throughput assigned to an agent alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfiguration
AgentAlias.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
AgentAlias.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
AgentAlias.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:
-
updatedAt
The time at which the alias was last updated.
- Parameters:
updatedAt
- The time at which the alias was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-