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 The client IP, which can be a single IP, IP range, or subnet range, such as "1.1.1.1", "1.1.1.2-1.1.1.3", and "1.2.1.0/24-1.2.2.0/24".
|
String |
getType()
Get The type.
|
Long |
getUpdateTime()
Get The 10-digit timestamp, such as `1199116800`.
|
void |
setIp(String Ip)
Set The client IP, which can be a single IP, IP range, or subnet range, such as "1.1.1.1", "1.1.1.2-1.1.1.3", and "1.2.1.0/24-1.2.2.0/24".
|
void |
setType(String Type)
Set The type.
|
void |
setUpdateTime(Long UpdateTime)
Set The 10-digit timestamp, such as `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
- The client IP, which can be a single IP, IP range, or subnet range, such as "1.1.1.1", "1.1.1.2-1.1.1.3", and "1.2.1.0/24-1.2.2.0/24".public String getType()
public void setType(String Type)
Type
- The type. Values:
public Long getUpdateTime()
public void setUpdateTime(Long UpdateTime)
UpdateTime
- The 10-digit timestamp, such as `1199116800`. The current time will be used if this field is not specified.Copyright © 2022. All rights reserved.