public static final class CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule |
build() |
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
conditionJoiner(String conditionJoiner)
Logical connectors between conditions:
AND: All conditions are met at the same time.
|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
conditions(List<CreateOrUpdateSwimmingLaneRequest.Conditions> conditions)
The conditions that trigger circuit breaking.
|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
independentPercentageEnable(Boolean independentPercentageEnable)
Whether to enable proportional grayscale.
|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
paths(List<String> paths)
The matched request path.
|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
percentage(Integer percentage)
The traffic ratio.
|
CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder |
percentageByPath(Map<String,Integer> percentageByPath)
The traffic configuration.
|
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder conditionJoiner(String conditionJoiner)
Logical connectors between conditions:
AND
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder conditions(List<CreateOrUpdateSwimmingLaneRequest.Conditions> conditions)
The conditions that trigger circuit breaking.
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder independentPercentageEnable(Boolean independentPercentageEnable)
Whether to enable proportional grayscale.
true
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder paths(List<String> paths)
The matched request path.
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder percentage(Integer percentage)
The traffic ratio. Valid values: 0 to 100.
example:50
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule.Builder percentageByPath(Map<String,Integer> percentageByPath)
The traffic configuration.
public CreateOrUpdateSwimmingLaneRequest.AppEntryRule build()
Copyright © 2026. All rights reserved.