public class SetAuthenticationRequest extends AbstractModel
| Constructor and Description | 
|---|
| SetAuthenticationRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getBasicAuth()Get Whether to enable the basic authentication:
0: disable basic authentication;
1: enable basic authentication. | 
| String | getBasicAuthConfId()Get Basic authentication configuration ID, which is obtained from the certificate management page. | 
| String | getDomain()Get The domain name requiring advanced configuration, i.e., the domain name of the listener's forwarding rules. | 
| Long | getGaapAuth()Get Whether to enable the connection authentication, which is for the origin server to authenticate GAAP. | 
| String | getGaapCertificateId()Get Connection SSL certificate ID, which is obtained from the certificate management page. | 
| String | getListenerId()Get Listener ID. | 
| String[] | getPolyRealServerCertificateIds()Get CA certificate IDs of multiple origin servers, which are obtained from the certificate management page. | 
| Long | getRealServerAuth()Get Whether to enable the origin server authentication, which is for GAAP to authenticate the server. | 
| String | getRealServerCertificateDomain()Get Domain name of the origin server certificate. | 
| String | getRealServerCertificateId()Get CA certificate ID of the origin server, which is obtained from the certificate management page. | 
| void | setBasicAuth(Long BasicAuth)Set Whether to enable the basic authentication:
0: disable basic authentication;
1: enable basic authentication. | 
| void | setBasicAuthConfId(String BasicAuthConfId)Set Basic authentication configuration ID, which is obtained from the certificate management page. | 
| void | setDomain(String Domain)Set The domain name requiring advanced configuration, i.e., the domain name of the listener's forwarding rules. | 
| void | setGaapAuth(Long GaapAuth)Set Whether to enable the connection authentication, which is for the origin server to authenticate GAAP. | 
| void | setGaapCertificateId(String GaapCertificateId)Set Connection SSL certificate ID, which is obtained from the certificate management page. | 
| void | setListenerId(String ListenerId)Set Listener ID. | 
| void | setPolyRealServerCertificateIds(String[] PolyRealServerCertificateIds)Set CA certificate IDs of multiple origin servers, which are obtained from the certificate management page. | 
| void | setRealServerAuth(Long RealServerAuth)Set Whether to enable the origin server authentication, which is for GAAP to authenticate the server. | 
| void | setRealServerCertificateDomain(String RealServerCertificateDomain)Set Domain name of the origin server certificate. | 
| void | setRealServerCertificateId(String RealServerCertificateId)Set CA certificate ID of the origin server, which is obtained from the certificate management page. | 
| 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 getListenerId()
public void setListenerId(String ListenerId)
ListenerId - Listener ID.public String getDomain()
public void setDomain(String Domain)
Domain - The domain name requiring advanced configuration, i.e., the domain name of the listener's forwarding rules.public Long getBasicAuth()
public void setBasicAuth(Long BasicAuth)
BasicAuth - Whether to enable the basic authentication:
0: disable basic authentication;
1: enable basic authentication.
The default value is 0.public Long getGaapAuth()
public void setGaapAuth(Long GaapAuth)
GaapAuth - Whether to enable the connection authentication, which is for the origin server to authenticate GAAP.
0: disable;
1: enable.
The default value is 0.public Long getRealServerAuth()
public void setRealServerAuth(Long RealServerAuth)
RealServerAuth - Whether to enable the origin server authentication, which is for GAAP to authenticate the server.
0: disable;
1: enable.
The default value is 0.public String getBasicAuthConfId()
public void setBasicAuthConfId(String BasicAuthConfId)
BasicAuthConfId - Basic authentication configuration ID, which is obtained from the certificate management page.public String getGaapCertificateId()
public void setGaapCertificateId(String GaapCertificateId)
GaapCertificateId - Connection SSL certificate ID, which is obtained from the certificate management page.public String getRealServerCertificateId()
public void setRealServerCertificateId(String RealServerCertificateId)
RealServerCertificateId - CA certificate ID of the origin server, which is obtained from the certificate management page. When authenticating the origin server, enter this parameter or the `RealServerCertificateIds` parameter.public String getRealServerCertificateDomain()
public void setRealServerCertificateDomain(String RealServerCertificateDomain)
RealServerCertificateDomain - Domain name of the origin server certificate.public String[] getPolyRealServerCertificateIds()
public void setPolyRealServerCertificateIds(String[] PolyRealServerCertificateIds)
PolyRealServerCertificateIds - CA certificate IDs of multiple origin servers, which are obtained from the certificate management page. When authenticating the origin servers, enter this parameter or the `RealServerCertificateId` parameter.Copyright © 2020. All rights reserved.