public static final class CreateFlowRuleResponseBody.Data.Builder extends Object
public CreateFlowRuleResponseBody.Data.Builder appId(String appId)
The application ID.
example:hkhon1po62@54e1f42f3******
public CreateFlowRuleResponseBody.Data.Builder appName(String appName)
The application name.
example:spring-cloud-a
public CreateFlowRuleResponseBody.Data.Builder controlBehavior(Integer controlBehavior)
The throttling effect.
Valid values:
0
:
fast failure
2
:
in queue
0
public CreateFlowRuleResponseBody.Data.Builder enable(Boolean enable)
Indicates whether the rule is enabled.
Valid values:
true
false
true
public CreateFlowRuleResponseBody.Data.Builder id(Long id)
The ID.
example:12
public CreateFlowRuleResponseBody.Data.Builder limitApp(String limitApp)
public CreateFlowRuleResponseBody.Data.Builder maxQueueingTimeMs(Integer maxQueueingTimeMs)
The timeout period for queuing when the value of ControlBehavior is set to 2. Unit: milliseconds.
example:500
public CreateFlowRuleResponseBody.Data.Builder namespace(String namespace)
The namespace.
example:default
public CreateFlowRuleResponseBody.Data.Builder regionId(String regionId)
The region ID.
example:cn-hangzhou
public CreateFlowRuleResponseBody.Data.Builder resource(String resource)
The name of the API resource.
example:app
public CreateFlowRuleResponseBody.Data.Builder threshold(Float threshold)
The throttling threshold.
example:200
public CreateFlowRuleResponseBody.Data build()
Copyright © 2026. All rights reserved.