public static final class InsertSwimmingLaneResponseBody.Data.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
InsertSwimmingLaneResponseBody.Data.Builder |
appInfos(String appInfos)
The applications that are associated with lanes.
|
InsertSwimmingLaneResponseBody.Data |
build() |
InsertSwimmingLaneResponseBody.Data.Builder |
entryRule(String entryRule)
The throttling rule for the lane.
|
InsertSwimmingLaneResponseBody.Data.Builder |
groupId(Long groupId)
The ID of the lane group.
|
InsertSwimmingLaneResponseBody.Data.Builder |
id(Long id)
The ID of the lane.
|
InsertSwimmingLaneResponseBody.Data.Builder |
name(String name)
The name of the lane.
|
InsertSwimmingLaneResponseBody.Data.Builder |
namespaceId(String namespaceId)
The ID of the namespace.
|
InsertSwimmingLaneResponseBody.Data.Builder |
swimmingLaneAppRelationShipList(List<InsertSwimmingLaneResponseBody.SwimmingLaneAppRelationShipList> swimmingLaneAppRelationShipList)
The association relationships between lanes and applications.
|
InsertSwimmingLaneResponseBody.Data.Builder |
tag(String tag)
The tag of the lane.
|
public InsertSwimmingLaneResponseBody.Data.Builder appInfos(String appInfos)
public InsertSwimmingLaneResponseBody.Data.Builder entryRule(String entryRule)
priority: the priority of the throttling rule for the lane. Valid values: 1 to 100. path: the path that is matched by the throttling rule for the lane. restItems: conditions to be met. condition: the relationship among the conditions to be met. * AND: all conditions * OR: one of the conditions restItems.type: the type of the rule. Valid values: * header: matches by request header. * cookie: matches by request cookie. * param: matches by request parameters. restItems.name: the key that matches the rule. restItems.value: the value that matches the rule. restItems.cond: the condition that matches the rule. Valid values: * "==": The parameter value is equal to the value that you enter in the Value field. * "!=": The parameter value is not equal to the value that you enter in the Value field. * ">": The parameter value is greater than the value that you enter in the Value field. * "<": The parameter value is less than the value that you enter in the Value field. * ">=": The parameter value is greater than or equal to the value that you enter in the Value field. * "<=": The parameter value is less than or equal to the value that you enter in the Value field. * "in": The parameter value is within the values that you enter in the Value field. restItems.operator: the type of the value. Valid values: * rawvalue: the initial value * mod: the reminder obtained by performing modulo operation * list: the value from the list
public InsertSwimmingLaneResponseBody.Data.Builder groupId(Long groupId)
public InsertSwimmingLaneResponseBody.Data.Builder id(Long id)
public InsertSwimmingLaneResponseBody.Data.Builder name(String name)
public InsertSwimmingLaneResponseBody.Data.Builder namespaceId(String namespaceId)
public InsertSwimmingLaneResponseBody.Data.Builder swimmingLaneAppRelationShipList(List<InsertSwimmingLaneResponseBody.SwimmingLaneAppRelationShipList> swimmingLaneAppRelationShipList)
public InsertSwimmingLaneResponseBody.Data.Builder tag(String tag)
public InsertSwimmingLaneResponseBody.Data build()
Copyright © 2023. All rights reserved.