public static final class ModifyInterceptionRuleSwitchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyInterceptionRuleSwitchRequest |
build() |
ModifyInterceptionRuleSwitchRequest.Builder |
clusterId(String clusterId)
The ID of the cluster.
|
ModifyInterceptionRuleSwitchRequest.Builder |
ruleIds(String ruleIds)
The IDs of the rules whose status you want to change.
|
ModifyInterceptionRuleSwitchRequest.Builder |
ruleSwitch(Integer ruleSwitch)
Specifies whether the rule is enabled.
|
public ModifyInterceptionRuleSwitchRequest.Builder clusterId(String clusterId)
The ID of the cluster.
example:You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
ce5c29aba99694ade9ba85dc620b4****
public ModifyInterceptionRuleSwitchRequest.Builder ruleIds(String ruleIds)
The IDs of the rules whose status you want to change. Separate multiple IDs with commas (,).
example:You can call the ListInterceptionRulePage operation to query the IDs of rules.
403287
public ModifyInterceptionRuleSwitchRequest.Builder ruleSwitch(Integer ruleSwitch)
Specifies whether the rule is enabled. Valid values:
1
public ModifyInterceptionRuleSwitchRequest build()
Copyright © 2026. All rights reserved.