public class AddNatAcRuleRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AddNatAcRuleRequest() | 
| AddNatAcRuleRequest(AddNatAcRuleRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getFrom()Get Source of the rules to be added. | 
| CreateNatRuleItem[] | getRules()Get NAT access control rules to be added. | 
| void | setFrom(String From)Set Source of the rules to be added. | 
| void | setRules(CreateNatRuleItem[] Rules)Set NAT access control rules to be added. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AddNatAcRuleRequest()
public AddNatAcRuleRequest(AddNatAcRuleRequest source)
public CreateNatRuleItem[] getRules()
public void setRules(CreateNatRuleItem[] Rules)
Rules - NAT access control rules to be added.public String getFrom()
public void setFrom(String From)
From - Source of the rules to be added. Generally, this parameter is not used. The value insert_rule indicates that rules in the specified location are inserted, and the value batch_import indicates that rules are imported in batches. If the parameter is left empty, rules defined in the API request are added.Copyright © 2024. All rights reserved.