Interface InvokeInferenceRouterAsyncResponse.Builder

  • Method Details

    • inferenceId

      The identifier for the inference request. This is the InferenceId that you provided, or the one that SageMaker AI generated.

      Parameters:
      inferenceId - The identifier for the inference request. This is the InferenceId that you provided, or the one that SageMaker AI generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputLocation

      InvokeInferenceRouterAsyncResponse.Builder outputLocation(String outputLocation)

      The Amazon S3 URI where the inference response is written. The location doesn't change if the router moves the request to another destination.

      Parameters:
      outputLocation - The Amazon S3 URI where the inference response is written. The location doesn't change if the router moves the request to another destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureLocation

      InvokeInferenceRouterAsyncResponse.Builder failureLocation(String failureLocation)

      The Amazon S3 URI where the failure details are written if the inference fails.

      Parameters:
      failureLocation - The Amazon S3 URI where the failure details are written if the inference fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.