public class IntrusionDefenseRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
IntrusionDefenseRule() |
IntrusionDefenseRule(IntrusionDefenseRule 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 备注信息,长度不能超过50
|
Long |
getDirection()
Get 规则方向,0出站,1入站,3内网间
|
String |
getDomain()
Get 规则域名,IP与Domain必填其中之一
|
String |
getEndTime()
Get 规则结束时间,格式:2006-01-02 15:04:05,必须大于当前时间
|
String |
getIP()
Get 规则IP地址,IP与Domain必填其中之一
|
String |
getStartTime()
Get 规则开始时间
|
void |
setComment(String Comment)
Set 备注信息,长度不能超过50
|
void |
setDirection(Long Direction)
Set 规则方向,0出站,1入站,3内网间
|
void |
setDomain(String Domain)
Set 规则域名,IP与Domain必填其中之一
|
void |
setEndTime(String EndTime)
Set 规则结束时间,格式:2006-01-02 15:04:05,必须大于当前时间
|
void |
setIP(String IP)
Set 规则IP地址,IP与Domain必填其中之一
|
void |
setStartTime(String StartTime)
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, toJsonString
public IntrusionDefenseRule()
public IntrusionDefenseRule(IntrusionDefenseRule source)
public Long getDirection()
public void setDirection(Long Direction)
Direction
- 规则方向,0出站,1入站,3内网间public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- 规则结束时间,格式:2006-01-02 15:04:05,必须大于当前时间public String getIP()
public void setIP(String IP)
IP
- 规则IP地址,IP与Domain必填其中之一public String getDomain()
public void setDomain(String Domain)
Domain
- 规则域名,IP与Domain必填其中之一public String getComment()
public void setComment(String Comment)
Comment
- 备注信息,长度不能超过50public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- 规则开始时间Copyright © 2024. All rights reserved.