public class HostRecord extends AbstractModel
header, skipSign
Constructor and Description |
---|
HostRecord() |
HostRecord(HostRecord 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 |
getAlbType()
Get Application CLB type.
|
String[] |
getCdcClusters()
Get List of CDC clusters to which the domain name needs to be delivered.
|
String |
getCloudType()
Get Cloud type
public: public cloud
private: private cloud
hybrid: hybrid cloud
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getClsStatus()
Get Whether to enable access logging
1: enable
0: disable
|
String |
getDomain()
Get Domain name
|
String |
getDomainId()
Get Unique domain name ID
|
String |
getEdition()
Get Instance type of the domain name.
|
Long |
getEngine()
Get Status of the rule engine and AI engine
1: initial status.
|
Long |
getEngineType()
Get Rule engine type
1: menshen
2: tiga
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getFlowMode()
Get Traffic mode of domain names protected by CLB WAF
1: cleaning mode
0: mirror mode
|
String[] |
getIpHeaders()
Get IsCdn=3 required for this parameter, indicates custom header
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getIsCdn()
Get Whether a layer-7 proxy service is deployed before WAF.
|
Long |
getLevel()
Get Protection Level, Optional Values: 100, 200, 300
Note: This field may return null, indicating that no valid values can be obtained.
|
LoadBalancer[] |
getLoadBalancerSet()
Get List of the information on the bound CLB instance
|
String |
getMainDomain()
Get Primary Domain, empty upon input
|
Long |
getMode()
Get Rule engine protection mode
0: observation mode
1: interception mode
|
String |
getNote()
Get Domain name remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRegion()
Get Region of the CLB instance bound to the domain name.
|
Long |
getState()
Get Domain name listener status of CLB WAF
0: operation successful
4: CLB instance binding in progress
6: CLB instance unbinding in progress
7: CLB instance unbinding failed
8: CLB instance binding failed
10: internal error
|
Long |
getStatus()
Get Binding relationship between WAF and CLB
0: unbound
1: bound
|
void |
setAlbType(String AlbType)
Set Application CLB type.
|
void |
setCdcClusters(String[] CdcClusters)
Set List of CDC clusters to which the domain name needs to be delivered.
|
void |
setCloudType(String CloudType)
Set Cloud type
public: public cloud
private: private cloud
hybrid: hybrid cloud
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setClsStatus(Long ClsStatus)
Set Whether to enable access logging
1: enable
0: disable
|
void |
setDomain(String Domain)
Set Domain name
|
void |
setDomainId(String DomainId)
Set Unique domain name ID
|
void |
setEdition(String Edition)
Set Instance type of the domain name.
|
void |
setEngine(Long Engine)
Set Status of the rule engine and AI engine
1: initial status.
|
void |
setEngineType(Long EngineType)
Set Rule engine type
1: menshen
2: tiga
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFlowMode(Long FlowMode)
Set Traffic mode of domain names protected by CLB WAF
1: cleaning mode
0: mirror mode
|
void |
setIpHeaders(String[] IpHeaders)
Set IsCdn=3 required for this parameter, indicates custom header
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setIsCdn(Long IsCdn)
Set Whether a layer-7 proxy service is deployed before WAF.
|
void |
setLevel(Long Level)
Set Protection Level, Optional Values: 100, 200, 300
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setLoadBalancerSet(LoadBalancer[] LoadBalancerSet)
Set List of the information on the bound CLB instance
|
void |
setMainDomain(String MainDomain)
Set Primary Domain, empty upon input
|
void |
setMode(Long Mode)
Set Rule engine protection mode
0: observation mode
1: interception mode
|
void |
setNote(String Note)
Set Domain name remarks
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRegion(String Region)
Set Region of the CLB instance bound to the domain name.
|
void |
setState(Long State)
Set Domain name listener status of CLB WAF
0: operation successful
4: CLB instance binding in progress
6: CLB instance unbinding in progress
7: CLB instance unbinding failed
8: CLB instance binding failed
10: internal error
|
void |
setStatus(Long Status)
Set Binding relationship between WAF and CLB
0: unbound
1: bound
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public HostRecord()
public HostRecord(HostRecord source)
public String getDomain()
public void setDomain(String Domain)
Domain
- Domain namepublic String getDomainId()
public void setDomainId(String DomainId)
DomainId
- Unique domain name IDpublic String getMainDomain()
public void setMainDomain(String MainDomain)
MainDomain
- Primary Domain, empty upon inputpublic Long getMode()
public void setMode(Long Mode)
Mode
- Rule engine protection mode
0: observation mode
1: interception modepublic Long getStatus()
public void setStatus(Long Status)
Status
- Binding relationship between WAF and CLB
0: unbound
1: boundpublic Long getState()
public void setState(Long State)
State
- Domain name listener status of CLB WAF
0: operation successful
4: CLB instance binding in progress
6: CLB instance unbinding in progress
7: CLB instance unbinding failed
8: CLB instance binding failed
10: internal errorpublic Long getEngine()
public void setEngine(Long Engine)
Engine
- Status of the rule engine and AI engine
1: initial status. Interception for the rule engine and disabled for the AI engine.
10: observation for the rule engine and disabled for the AI engine
11: observation for both the rule engine and AI engine
12: observation for the rule engine and interception for the AI engine
20: interception for the rule engine and disabled for the AI engine
21: interception for the rule engine and observation for the AI engine
22: interception for both the rule engine and AI enginepublic Long getIsCdn()
public void setIsCdn(Long IsCdn)
IsCdn
- Whether a layer-7 proxy service is deployed before WAF. 0: No proxy service deployed; 1: Proxy service deployed, and WAF will use XFF to obtain the client IP address; 2: Proxy service deployed, and WAF will use remote_addr to obtain the client IP address; 3: Proxy service deployed, and WAF will use the custom header in ip_headers to obtain the client IP address.public LoadBalancer[] getLoadBalancerSet()
public void setLoadBalancerSet(LoadBalancer[] LoadBalancerSet)
LoadBalancerSet
- List of the information on the bound CLB instancepublic String getRegion()
public void setRegion(String Region)
Region
- Region of the CLB instance bound to the domain name. Separate multiple regions by commas.public String getEdition()
public void setEdition(String Edition)
Edition
- Instance type of the domain name. For CLB WAF, the value is "clb-waf".public Long getFlowMode()
public void setFlowMode(Long FlowMode)
FlowMode
- Traffic mode of domain names protected by CLB WAF
1: cleaning mode
0: mirror modepublic Long getClsStatus()
public void setClsStatus(Long ClsStatus)
ClsStatus
- Whether to enable access logging
1: enable
0: disablepublic Long getLevel()
public void setLevel(Long Level)
Level
- Protection Level, Optional Values: 100, 200, 300
Note: This field may return null, indicating that no valid values can be obtained.public String[] getCdcClusters()
public void setCdcClusters(String[] CdcClusters)
CdcClusters
- List of CDC clusters to which the domain name needs to be delivered. Specify this parameter for CDC scenes only.
Note: This field may return null, indicating that no valid values can be obtained.public String getAlbType()
public void setAlbType(String AlbType)
AlbType
- Application CLB type. Default value: clb.
clb: layer-7 CLB
tsegw: Tencent Cloud API Gateway
scf: Tencent Cloud Serverless
apisix: Other Tencent Cloud Gateway. eg: APISIX gateway
Note: This field may return null, indicating that no valid values can be obtained.public String[] getIpHeaders()
public void setIpHeaders(String[] IpHeaders)
IpHeaders
- IsCdn=3 required for this parameter, indicates custom header
Note: This field may return null, indicating that no valid values can be obtained.public Long getEngineType()
public void setEngineType(Long EngineType)
EngineType
- Rule engine type
1: menshen
2: tiga
Note: This field may return null, indicating that no valid values can be obtained.public String getCloudType()
public void setCloudType(String CloudType)
CloudType
- Cloud type
public: public cloud
private: private cloud
hybrid: hybrid cloud
Note: This field may return null, indicating that no valid values can be obtained.public String getNote()
public void setNote(String Note)
Note
- Domain name remarks
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.