public static interface TrafficRoutingConfig.Builder extends SdkPojo, CopyableBuilder<TrafficRoutingConfig.Builder,TrafficRoutingConfig>
| Modifier and Type | Method and Description |
|---|---|
TrafficRoutingConfig.Builder |
canarySize(CapacitySize canarySize)
Batch size for the first step to turn on traffic on the new endpoint fleet.
|
default TrafficRoutingConfig.Builder |
canarySize(Consumer<CapacitySize.Builder> canarySize)
Batch size for the first step to turn on traffic on the new endpoint fleet.
|
TrafficRoutingConfig.Builder |
linearStepSize(CapacitySize linearStepSize)
Batch size for each step to turn on traffic on the new endpoint fleet.
|
default TrafficRoutingConfig.Builder |
linearStepSize(Consumer<CapacitySize.Builder> linearStepSize)
Batch size for each step to turn on traffic on the new endpoint fleet.
|
TrafficRoutingConfig.Builder |
type(String type)
Traffic routing strategy type.
|
TrafficRoutingConfig.Builder |
type(TrafficRoutingConfigType type)
Traffic routing strategy type.
|
TrafficRoutingConfig.Builder |
waitIntervalInSeconds(Integer waitIntervalInSeconds)
The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrafficRoutingConfig.Builder type(String type)
Traffic routing strategy type.
ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.
CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary,
which is a small portion of the traffic. The second step is the remainder of the traffic.
LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
type - Traffic routing strategy type.
ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.
CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the
canary, which is a small portion of the traffic. The second step is the remainder of the traffic.
LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
TrafficRoutingConfigType,
TrafficRoutingConfigTypeTrafficRoutingConfig.Builder type(TrafficRoutingConfigType type)
Traffic routing strategy type.
ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.
CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary,
which is a small portion of the traffic. The second step is the remainder of the traffic.
LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
type - Traffic routing strategy type.
ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.
CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the
canary, which is a small portion of the traffic. The second step is the remainder of the traffic.
LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
TrafficRoutingConfigType,
TrafficRoutingConfigTypeTrafficRoutingConfig.Builder waitIntervalInSeconds(Integer waitIntervalInSeconds)
The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.
waitIntervalInSeconds - The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.TrafficRoutingConfig.Builder canarySize(CapacitySize canarySize)
Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less
than or equal to 50% of the variant's total instance count.
canarySize - Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be
less than or equal to 50% of the variant's total instance count.default TrafficRoutingConfig.Builder canarySize(Consumer<CapacitySize.Builder> canarySize)
Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less
than or equal to 50% of the variant's total instance count.
CapacitySize.Builder avoiding the need
to create one manually via CapacitySize.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to canarySize(CapacitySize).canarySize - a consumer that will call methods on CapacitySize.BuildercanarySize(CapacitySize)TrafficRoutingConfig.Builder linearStepSize(CapacitySize linearStepSize)
Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of
the variant's total instance count.
linearStepSize - Batch size for each step to turn on traffic on the new endpoint fleet. Value must be
10-50% of the variant's total instance count.default TrafficRoutingConfig.Builder linearStepSize(Consumer<CapacitySize.Builder> linearStepSize)
Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of
the variant's total instance count.
CapacitySize.Builder avoiding the need
to create one manually via CapacitySize.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to linearStepSize(CapacitySize).linearStepSize - a consumer that will call methods on CapacitySize.BuilderlinearStepSize(CapacitySize)Copyright © 2022. All rights reserved.