public class Https extends AbstractModel
| Constructor and Description | 
|---|
| Https() | 
| Modifier and Type | Method and Description | 
|---|---|
| ServerCert | getCertInfo()Get Server certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained. | 
| ClientCert | getClientCertInfo()Get Client certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained. | 
| Hsts | getHsts()Get HSTS configuration | 
| String | getHttp2()Get HTTP2 configuration switch
on: enabled
off: disabled
Enabling HTTPS acceleration for the first time will enable HTTP2 configuration by default. | 
| String | getOcspStapling()Get OCSP configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getSpdy()Get Spdy configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getSslStatus()Get HTTPS certificate deployment status
closed: already closed
deploying: in deployment
deployed: successfully deployed
failed: deployment failed
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getSwitch()Get HTTPS configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained. | 
| String[] | getTlsVersion()Get TLS version settings, which only support certain advanced domain names. | 
| String | getVerifyClient()Get Client certificate authentication feature
on: enabled
off: disabled
This is disabled by default. | 
| void | setCertInfo(ServerCert CertInfo)Set Server certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setClientCertInfo(ClientCert ClientCertInfo)Set Client certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setHsts(Hsts Hsts)Set HSTS configuration | 
| void | setHttp2(String Http2)Set HTTP2 configuration switch
on: enabled
off: disabled
Enabling HTTPS acceleration for the first time will enable HTTP2 configuration by default. | 
| void | setOcspStapling(String OcspStapling)Set OCSP configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSpdy(String Spdy)Set Spdy configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSslStatus(String SslStatus)Set HTTPS certificate deployment status
closed: already closed
deploying: in deployment
deployed: successfully deployed
failed: deployment failed
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSwitch(String Switch)Set HTTPS configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setTlsVersion(String[] TlsVersion)Set TLS version settings, which only support certain advanced domain names. | 
| void | setVerifyClient(String VerifyClient)Set Client certificate authentication feature
on: enabled
off: disabled
This is disabled by default. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getSwitch()
public void setSwitch(String Switch)
Switch - HTTPS configuration switch
on: enabled
off: disabled
Note: this field may return null, indicating that no valid values can be obtained.public String getHttp2()
public void setHttp2(String Http2)
Http2 - HTTP2 configuration switch
on: enabled
off: disabled
Enabling HTTPS acceleration for the first time will enable HTTP2 configuration by default.
Note: this field may return null, indicating that no valid values can be obtained.public String getOcspStapling()
public void setOcspStapling(String OcspStapling)
OcspStapling - OCSP configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.public String getVerifyClient()
public void setVerifyClient(String VerifyClient)
VerifyClient - Client certificate authentication feature
on: enabled
off: disabled
This is disabled by default. The client certificate information is needed when enabled. This is still in beta and not generally available yet.
Note: this field may return null, indicating that no valid values can be obtained.public ServerCert getCertInfo()
public void setCertInfo(ServerCert CertInfo)
CertInfo - Server certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained.public ClientCert getClientCertInfo()
public void setClientCertInfo(ClientCert ClientCertInfo)
ClientCertInfo - Client certificate configuration information
Note: this field may return null, indicating that no valid values can be obtained.public String getSpdy()
public void setSpdy(String Spdy)
Spdy - Spdy configuration switch
on: enabled
off: disabled
This is disabled by default
Note: this field may return null, indicating that no valid values can be obtained.public String getSslStatus()
public void setSslStatus(String SslStatus)
SslStatus - HTTPS certificate deployment status
closed: already closed
deploying: in deployment
deployed: successfully deployed
failed: deployment failed
Note: this field may return null, indicating that no valid values can be obtained.public Hsts getHsts()
public void setHsts(Hsts Hsts)
Hsts - HSTS configurationpublic String[] getTlsVersion()
public void setTlsVersion(String[] TlsVersion)
TlsVersion - TLS version settings, which only support certain advanced domain names. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.