public class BanAndAllowRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BanAndAllowRule() | 
| BanAndAllowRule(BanAndAllowRule 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 | getComment()Get 规则评论 | 
| CustomWhiteRule | getCustomRule()Get 自定义白名单规则 | 
| String | getDirectionList()Get 0互联网出站 1互联网入站 5内网访问源 6内网访问目的 | 
| String | getEndTime()Get 规则截止时间 | 
| Long | getFwType()Get 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙 | 
| String | getIoc()Get 封禁和放通对象 | 
| void | setComment(String Comment)Set 规则评论 | 
| void | setCustomRule(CustomWhiteRule CustomRule)Set 自定义白名单规则 | 
| void | setDirectionList(String DirectionList)Set 0互联网出站 1互联网入站 5内网访问源 6内网访问目的 | 
| void | setEndTime(String EndTime)Set 规则截止时间 | 
| void | setFwType(Long FwType)Set 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙 | 
| void | setIoc(String Ioc)Set 封禁和放通对象 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BanAndAllowRule()
public BanAndAllowRule(BanAndAllowRule source)
public String getComment()
public void setComment(String Comment)
Comment - 规则评论public CustomWhiteRule getCustomRule()
public void setCustomRule(CustomWhiteRule CustomRule)
CustomRule - 自定义白名单规则public String getDirectionList()
public void setDirectionList(String DirectionList)
DirectionList - 0互联网出站 1互联网入站 5内网访问源 6内网访问目的public String getEndTime()
public void setEndTime(String EndTime)
EndTime - 规则截止时间public Long getFwType()
public void setFwType(Long FwType)
FwType - 放通的引擎: 1针对互联网边界 2针对nat防火墙 4针对vpc防火墙public String getIoc()
public void setIoc(String Ioc)
Ioc - 封禁和放通对象Copyright © 2025. All rights reserved.