Interface Destination.Builder

  • Method Details

    • resourceArn

      Destination.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the endpoint or inference component. The destination can be in any account, and in any Amazon Web Services Region in the same partition as the inference router. To use a destination in another account, its owner must allow your account to invoke it through your router, in an endpoint policy.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the endpoint or inference component. The destination can be in any account, and in any Amazon Web Services Region in the same partition as the inference router. To use a destination in another account, its owner must allow your account to invoke it through your router, in an endpoint policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingStatus

      Destination.Builder routingStatus(String routingStatus)

      Whether the inference router can send requests to the destination, as checked when you called DescribeInferenceRouter. This value isn't the destination's own status. SageMaker AI ignores this field in CreateInferenceRouter and UpdateInferenceRouter requests.

      Routable

      The destination is serving and the router can send it requests. A routable destination can still be overloaded.

      Unroutable

      The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also Unroutable.

      Unknown

      SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.

      Parameters:
      routingStatus - Whether the inference router can send requests to the destination, as checked when you called DescribeInferenceRouter. This value isn't the destination's own status. SageMaker AI ignores this field in CreateInferenceRouter and UpdateInferenceRouter requests.

      Routable

      The destination is serving and the router can send it requests. A routable destination can still be overloaded.

      Unroutable

      The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also Unroutable.

      Unknown

      SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.

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

      Destination.Builder routingStatus(RoutingStatus routingStatus)

      Whether the inference router can send requests to the destination, as checked when you called DescribeInferenceRouter. This value isn't the destination's own status. SageMaker AI ignores this field in CreateInferenceRouter and UpdateInferenceRouter requests.

      Routable

      The destination is serving and the router can send it requests. A routable destination can still be overloaded.

      Unroutable

      The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also Unroutable.

      Unknown

      SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.

      Parameters:
      routingStatus - Whether the inference router can send requests to the destination, as checked when you called DescribeInferenceRouter. This value isn't the destination's own status. SageMaker AI ignores this field in CreateInferenceRouter and UpdateInferenceRouter requests.

      Routable

      The destination is serving and the router can send it requests. A routable destination can still be overloaded.

      Unroutable

      The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also Unroutable.

      Unknown

      SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.

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