public class DDoSProtection extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DDoSProtection() |
DDoSProtection(DDoSProtection 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 |
|---|---|
DomainDDoSProtection[] |
getDomainDDoSProtections()
Get Anti-DDoS configuration of the domain.
|
String |
getProtectionOption()
Get Specifies the protection scope of standalone DDoS.
|
DomainDDoSProtection[] |
getSharedCNAMEDDoSProtections()
Get Specifies the exclusive DDoS protection configuration of a shared CNAME.
|
void |
setDomainDDoSProtections(DomainDDoSProtection[] DomainDDoSProtections)
Set Anti-DDoS configuration of the domain.
|
void |
setProtectionOption(String ProtectionOption)
Set Specifies the protection scope of standalone DDoS.
|
void |
setSharedCNAMEDDoSProtections(DomainDDoSProtection[] SharedCNAMEDDoSProtections)
Set Specifies the exclusive DDoS protection configuration of a shared CNAME.
|
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 DDoSProtection()
public DDoSProtection(DDoSProtection source)
public String getProtectionOption()
public void setProtectionOption(String ProtectionOption)
ProtectionOption - Specifies the protection scope of standalone DDoS. valid values:.
public DomainDDoSProtection[] getDomainDDoSProtections()
public void setDomainDDoSProtections(DomainDDoSProtection[] DomainDDoSProtections)
DomainDDoSProtections - Anti-DDoS configuration of the domain. specifies the exclusive ddos protection settings for the domain in request parameters.
public DomainDDoSProtection[] getSharedCNAMEDDoSProtections()
public void setSharedCNAMEDDoSProtections(DomainDDoSProtection[] SharedCNAMEDDoSProtections)
SharedCNAMEDDoSProtections - Specifies the exclusive DDoS protection configuration of a shared CNAME. used as an output parameter.Copyright © 2025. All rights reserved.