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)
> You can call the [DescribeGroupedContainerInstances](~~DescribeGroupedContainerInstances~~) operation to query the IDs of clusters.
public ModifyInterceptionRuleSwitchRequest.Builder ruleIds(String ruleIds)
> You can call the [ListInterceptionRulePage](~~182997~~) operation to query the IDs of rules.
public ModifyInterceptionRuleSwitchRequest.Builder ruleSwitch(Integer ruleSwitch)
* **1**: enabled * **0**: disabled
public ModifyInterceptionRuleSwitchRequest build()
Copyright © 2023. All rights reserved.