Interface ProductionVariantRoutingConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>, SdkBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>, SdkPojo
Enclosing class:
ProductionVariantRoutingConfig

public static interface ProductionVariantRoutingConfig.Builder extends SdkPojo, CopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
  • Method Details

    • routingStrategy

      ProductionVariantRoutingConfig.Builder routingStrategy(String routingStrategy)

      Sets how the endpoint routes incoming traffic:

      • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

      • RANDOM: The endpoint routes each request to a randomly chosen instance.

      Parameters:
      routingStrategy - Sets how the endpoint routes incoming traffic:

      • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

      • RANDOM: The endpoint routes each request to a randomly chosen instance.

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

      ProductionVariantRoutingConfig.Builder routingStrategy(RoutingStrategy routingStrategy)

      Sets how the endpoint routes incoming traffic:

      • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

      • RANDOM: The endpoint routes each request to a randomly chosen instance.

      Parameters:
      routingStrategy - Sets how the endpoint routes incoming traffic:

      • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

      • RANDOM: The endpoint routes each request to a randomly chosen instance.

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