public class EnableOriginACLRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
EnableOriginACLRequest() |
EnableOriginACLRequest(EnableOriginACLRequest 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 |
getL4EnableMode()
Get 四层代理实例开启源站防护的模式。
all:针对站点下的所有四层代理实例开启。
specific:针对站点下指定的四层代理实例开启。当参数为空时,默认为 specific。
|
String[] |
getL4ProxyIds()
Get 开启源站防护的四层代理实例列表,仅当参数 L4EnableMode 为 specific 时生效。L4EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 100 个四层代理实例。
|
String |
getL7EnableMode()
Get 七层加速域名开启源站防护的模式。
all:针对站点下的所有七层加速域名开启。
specific:针对站点下指定的七层加速域名开启。当参数为空时,默认为 specific。
|
String[] |
getL7Hosts()
Get 开启源站防护的七层加速域名列表,仅当参数 L7EnableMode 为 specific 时生效。L7EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 200 个七层加速域名。
|
String |
getZoneId()
Get 站点 ID。
|
void |
setL4EnableMode(String L4EnableMode)
Set 四层代理实例开启源站防护的模式。
all:针对站点下的所有四层代理实例开启。
specific:针对站点下指定的四层代理实例开启。当参数为空时,默认为 specific。
|
void |
setL4ProxyIds(String[] L4ProxyIds)
Set 开启源站防护的四层代理实例列表,仅当参数 L4EnableMode 为 specific 时生效。L4EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 100 个四层代理实例。
|
void |
setL7EnableMode(String L7EnableMode)
Set 七层加速域名开启源站防护的模式。
all:针对站点下的所有七层加速域名开启。
specific:针对站点下指定的七层加速域名开启。当参数为空时,默认为 specific。
|
void |
setL7Hosts(String[] L7Hosts)
Set 开启源站防护的七层加速域名列表,仅当参数 L7EnableMode 为 specific 时生效。L7EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 200 个七层加速域名。
|
void |
setZoneId(String ZoneId)
Set 站点 ID。
|
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 EnableOriginACLRequest()
public EnableOriginACLRequest(EnableOriginACLRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- 站点 ID。public String getL7EnableMode()
public void setL7EnableMode(String L7EnableMode)
L7EnableMode
- 七层加速域名开启源站防护的模式。
public String[] getL7Hosts()
public void setL7Hosts(String[] L7Hosts)
L7Hosts
- 开启源站防护的七层加速域名列表,仅当参数 L7EnableMode 为 specific 时生效。L7EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 200 个七层加速域名。public String getL4EnableMode()
public void setL4EnableMode(String L4EnableMode)
L4EnableMode
- 四层代理实例开启源站防护的模式。
public String[] getL4ProxyIds()
public void setL4ProxyIds(String[] L4ProxyIds)
L4ProxyIds
- 开启源站防护的四层代理实例列表,仅当参数 L4EnableMode 为 specific 时生效。L4EnableMode 为 all 时,请保留此参数为空。单次最大仅支持填写 100 个四层代理实例。Copyright © 2025. All rights reserved.