public static final class DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeSceneDefensePoliciesResponseBody.RuntimePolicies |
build() |
DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder |
newValue(String newValue)
The protection rule that is applied when the policy takes effect.
|
DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder |
oldValue(String oldValue)
The protection rule that is applied before the policy takes effect.
|
DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder |
policyType(Integer policyType)
The protection policy whose status is changed when the policy takes effect.
|
DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder |
status(Integer status)
The running status of the policy.
|
public DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder newValue(String newValue)
The protection rule that is applied when the policy takes effect.
If you set PolicyType to 1, the value is {"cc_rule_enable": false }. The value indicates that the Frequency Control policy is disabled.
If you set PolicyType to 2, the value is {"ai_rule_enable": 0}. The value indicates that the Intelligent Protection policy is disabled.
example:{"cc_rule_enable": false }
public DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder policyType(Integer policyType)
The protection policy whose status is changed when the policy takes effect. Valid values:
1
public DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder status(Integer status)
The running status of the policy. Valid values:
3
public DescribeSceneDefensePoliciesResponseBody.RuntimePolicies.Builder oldValue(String oldValue)
The protection rule that is applied before the policy takes effect.
If you set PolicyType to 1, the value is {"cc_rule_enable": true}. The value indicates that the Frequency Control policy is enabled.
If you set PolicyType to 2, the value is {"ai_rule_enable": 1}. The value indicates that the Intelligent Protection policy is enabled.
example:{"cc_rule_enable": true}
public DescribeSceneDefensePoliciesResponseBody.RuntimePolicies build()
Copyright © 2026. All rights reserved.