public static final class ModifyContainerPluginRuleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyContainerPluginRuleRequest |
build() |
ModifyContainerPluginRuleRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ModifyContainerPluginRuleRequest.Builder |
mode(Integer mode)
The action mode of the rule.
|
ModifyContainerPluginRuleRequest.Builder |
ruleId(Integer ruleId)
The ID of the rule.
|
ModifyContainerPluginRuleRequest.Builder |
ruleName(String ruleName)
The name of the rule.
|
ModifyContainerPluginRuleRequest.Builder |
ruleType(Integer ruleType)
The type of the rule.
|
ModifyContainerPluginRuleRequest.Builder |
selectedPolicy(List<String> selectedPolicy)
The rule items.
|
ModifyContainerPluginRuleRequest.Builder |
whiteImages(List<String> whiteImages)
The images that are added to the whitelist.
|
public ModifyContainerPluginRuleRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public ModifyContainerPluginRuleRequest.Builder mode(Integer mode)
The action mode of the rule. Valid values:
1
public ModifyContainerPluginRuleRequest.Builder ruleId(Integer ruleId)
The ID of the rule.
This parameter is required.
example:100012
public ModifyContainerPluginRuleRequest.Builder ruleName(String ruleName)
The name of the rule.
example:test
public ModifyContainerPluginRuleRequest.Builder ruleType(Integer ruleType)
The type of the rule. Valid values:
0
public ModifyContainerPluginRuleRequest.Builder selectedPolicy(List<String> selectedPolicy)
The rule items.
public ModifyContainerPluginRuleRequest.Builder whiteImages(List<String> whiteImages)
The images that are added to the whitelist.
public ModifyContainerPluginRuleRequest build()
Copyright © 2026. All rights reserved.