public class DDoSAllowBlockRule extends AbstractModel
Constructor and Description |
---|
DDoSAllowBlockRule() |
DDoSAllowBlockRule(DDoSAllowBlockRule 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 |
getIp()
Get 客户端IP,支持格式有:单IP、IP范围、网段、网段范围。例如"1.1.1.1","1.1.1.2-1.1.1.3","1.2.1.0/24-1.2.2.0/24"。
|
String |
getType()
Get 类型,取值有:
block :丢弃 ; allow :允许。
|
Long |
getUpdateTime()
Get 10位时间戳,例如1199116800。不填写系统取当前时间。
|
void |
setIp(String Ip)
Set 客户端IP,支持格式有:单IP、IP范围、网段、网段范围。例如"1.1.1.1","1.1.1.2-1.1.1.3","1.2.1.0/24-1.2.2.0/24"。
|
void |
setType(String Type)
Set 类型,取值有:
block :丢弃 ; allow :允许。
|
void |
setUpdateTime(Long UpdateTime)
Set 10位时间戳,例如1199116800。不填写系统取当前时间。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DDoSAllowBlockRule()
public DDoSAllowBlockRule(DDoSAllowBlockRule source)
public String getIp()
public void setIp(String Ip)
Ip
- 客户端IP,支持格式有:单IP、IP范围、网段、网段范围。例如"1.1.1.1","1.1.1.2-1.1.1.3","1.2.1.0/24-1.2.2.0/24"。public String getType()
public void setType(String Type)
Type
- 类型,取值有:
public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- 10位时间戳,例如1199116800。不填写系统取当前时间。Copyright © 2022. All rights reserved.