Interface AgentAlias.Builder

    • Method Detail

      • agentAliasArn

        AgentAlias.Builder agentAliasArn​(String 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

        AgentAlias.Builder agentAliasHistoryEvents​(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.
      • agentAliasId

        AgentAlias.Builder agentAliasId​(String 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

        AgentAlias.Builder agentAliasName​(String 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

        AgentAlias.Builder agentAliasStatus​(String 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.

        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentAliasStatus, AgentAliasStatus
      • agentAliasStatus

        AgentAlias.Builder agentAliasStatus​(AgentAliasStatus 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.

        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentAliasStatus, AgentAliasStatus
      • agentId

        AgentAlias.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

        AgentAlias.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.
      • createdAt

        AgentAlias.Builder createdAt​(Instant 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

        AgentAlias.Builder description​(String 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

        AgentAlias.Builder failureReasons​(Collection<String> 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

        AgentAlias.Builder failureReasons​(String... 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.
      • updatedAt

        AgentAlias.Builder updatedAt​(Instant 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.