public class CreateBlackWhiteIpListRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CreateBlackWhiteIpListRequest() |
CreateBlackWhiteIpListRequest(CreateBlackWhiteIpListRequest 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 |
getInstanceId()
Get Anti-DDoS instance ID
|
String[] |
getIpList()
Get List of IPs
|
String |
getType()
Get IP type.
|
void |
setInstanceId(String InstanceId)
Set Anti-DDoS instance ID
|
void |
setIpList(String[] IpList)
Set List of IPs
|
void |
setType(String Type)
Set IP type.
|
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 CreateBlackWhiteIpListRequest()
public CreateBlackWhiteIpListRequest(CreateBlackWhiteIpListRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Anti-DDoS instance IDpublic String[] getIpList()
public void setIpList(String[] IpList)
IpList - List of IPspublic String getType()
public void setType(String Type)
Type - IP type. Valid values: `black` (blocklisted IP), `white`(allowlisted IP).Copyright © 2025. All rights reserved.