Interface DescribeInferenceRouterResponse.Builder

  • Method Details

    • inferenceRouterName

      DescribeInferenceRouterResponse.Builder inferenceRouterName(String inferenceRouterName)

      The name of the inference router.

      Parameters:
      inferenceRouterName - The name of the inference router.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferenceRouterArn

      DescribeInferenceRouterResponse.Builder inferenceRouterArn(String inferenceRouterArn)

      The Amazon Resource Name (ARN) of the inference router.

      Parameters:
      inferenceRouterArn - The Amazon Resource Name (ARN) of the inference router.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingTargets

      The routing targets of the inference router. Each destination includes its RoutingStatus. You can send these routing targets back in an UpdateInferenceRouter request without changes.

      Parameters:
      routingTargets - The routing targets of the inference router. Each destination includes its RoutingStatus. You can send these routing targets back in an UpdateInferenceRouter request without changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingTargets

      DescribeInferenceRouterResponse.Builder routingTargets(RoutingTarget... routingTargets)

      The routing targets of the inference router. Each destination includes its RoutingStatus. You can send these routing targets back in an UpdateInferenceRouter request without changes.

      Parameters:
      routingTargets - The routing targets of the inference router. Each destination includes its RoutingStatus. You can send these routing targets back in an UpdateInferenceRouter request without changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingTargets

      The routing targets of the inference router. Each destination includes its RoutingStatus. You can send these routing targets back in an UpdateInferenceRouter request without changes.

      This is a convenience method that creates an instance of the RoutingTarget.Builder avoiding the need to create one manually via RoutingTarget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to routingTargets(List<RoutingTarget>).

      Parameters:
      routingTargets - a consumer that will call methods on RoutingTarget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the inference router.

      Parameters:
      status - The status of the inference router.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the inference router.

      Parameters:
      status - The status of the inference router.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      DescribeInferenceRouterResponse.Builder statusReason(String statusReason)

      If the status is Failed, the reason that the inference router failed.

      Parameters:
      statusReason - If the status is Failed, the reason that the inference router failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      The date and time that the inference router was created.

      Parameters:
      creationTime - The date and time that the inference router was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      DescribeInferenceRouterResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      The date and time that the inference router was last updated.

      Parameters:
      lastModifiedTime - The date and time that the inference router was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.