public class Https extends AbstractModel
Constructor and Description |
---|
Https() |
Https(Https 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 |
---|---|
ServerCert |
getCertInfo()
Get Server certificate configuration information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
ClientCert |
getClientCertInfo()
Get Client certificate configuration information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Hsts |
getHsts()
Get HSTS configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getHttp2()
Get Whether to enable HTTP2
`on`: Enable
`off`: Disable
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getOcspStapling()
Get OCSP configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
String |
getSpdy()
Get Spdy configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
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 value can be obtained.
|
String |
getSwitch()
Get HTTPS configuration switch
`on`: Enable
`off`: Disable
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`: Enable
`off`: Disable
This is disabled by default.
|
void |
setCertInfo(ServerCert CertInfo)
Set Server certificate configuration information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setClientCertInfo(ClientCert ClientCertInfo)
Set Client certificate configuration information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setHsts(Hsts Hsts)
Set HSTS configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setHttp2(String Http2)
Set Whether to enable HTTP2
`on`: Enable
`off`: Disable
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setOcspStapling(String OcspStapling)
Set OCSP configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
void |
setSpdy(String Spdy)
Set Spdy configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
|
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 value can be obtained.
|
void |
setSwitch(String Switch)
Set HTTPS configuration switch
`on`: Enable
`off`: Disable
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`: Enable
`off`: Disable
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, toJsonString
public Https()
public Https(Https source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- HTTPS configuration switch
`on`: Enable
`off`: Disable
Note: this field may return `null`, indicating that no valid values can be obtained.public String getHttp2()
public void setHttp2(String Http2)
Http2
- Whether to enable HTTP2
`on`: Enable
`off`: Disable
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`: Enable
`off`: Disable
It is disabled by default.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getVerifyClient()
public void setVerifyClient(String VerifyClient)
VerifyClient
- Client certificate authentication feature
`on`: Enable
`off`: Disable
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 value 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 value 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 value can be obtained.public String getSpdy()
public void setSpdy(String Spdy)
Spdy
- Spdy configuration switch
`on`: Enable
`off`: Disable
It is disabled by default.
Note: This field may return `null`, indicating that no valid value 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 value can be obtained.public Hsts getHsts()
public void setHsts(Hsts Hsts)
Hsts
- HSTS configuration
Note: This field may return `null`, indicating that no valid value can be obtained.public 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 value can be obtained.Copyright © 2022. All rights reserved.