Class InsL7Rules
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.InsL7Rules
-
public class InsL7Rules extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InsL7Rules()InsL7Rules(InsL7Rules 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAppId()Get 用户AppIDStringgetDomain()Get 域名StringgetInsId()Get 实例IDStringgetProtocol()Get 协议StringgetSSLId()Get 证书IDLonggetStatus()Get 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中StringgetVirtualPort()Get 高防端口voidsetAppId(String AppId)Set 用户AppIDvoidsetDomain(String Domain)Set 域名voidsetInsId(String InsId)Set 实例IDvoidsetProtocol(String Protocol)Set 协议voidsetSSLId(String SSLId)Set 证书IDvoidsetStatus(Long Status)Set 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中voidsetVirtualPort(String VirtualPort)Set 高防端口voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
InsL7Rules
public InsL7Rules()
-
InsL7Rules
public InsL7Rules(InsL7Rules 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.
-
-
Method Detail
-
getStatus
public Long getStatus()
Get 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中- Returns:
- Status 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
-
setStatus
public void setStatus(Long Status)
Set 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中- Parameters:
Status- 规则在中间状态态不可修改,只可在(0, 2, 8)状态可编辑。 规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
-
getDomain
public String getDomain()
Get 域名- Returns:
- Domain 域名
-
setDomain
public void setDomain(String Domain)
Set 域名- Parameters:
Domain- 域名
-
getProtocol
public String getProtocol()
Get 协议- Returns:
- Protocol 协议
-
setProtocol
public void setProtocol(String Protocol)
Set 协议- Parameters:
Protocol- 协议
-
getInsId
public String getInsId()
Get 实例ID- Returns:
- InsId 实例ID
-
setInsId
public void setInsId(String InsId)
Set 实例ID- Parameters:
InsId- 实例ID
-
getAppId
public String getAppId()
Get 用户AppID- Returns:
- AppId 用户AppID
-
setAppId
public void setAppId(String AppId)
Set 用户AppID- Parameters:
AppId- 用户AppID
-
getVirtualPort
public String getVirtualPort()
Get 高防端口- Returns:
- VirtualPort 高防端口
-
setVirtualPort
public void setVirtualPort(String VirtualPort)
Set 高防端口- Parameters:
VirtualPort- 高防端口
-
getSSLId
public String getSSLId()
Get 证书ID- Returns:
- SSLId 证书ID
-
setSSLId
public void setSSLId(String SSLId)
Set 证书ID- Parameters:
SSLId- 证书ID
-
-