public class CreateCertificateRequest extends AbstractModel
| Constructor and Description | 
|---|
CreateCertificateRequest()  | 
CreateCertificateRequest(CreateCertificateRequest 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 | 
getCertificateAlias()
Get Certificate name 
 | 
String | 
getCertificateContent()
Get Certificate content. 
 | 
String | 
getCertificateKey()
Get URL-encoded key content. 
 | 
Long | 
getCertificateType()
Get Certificate type. 
 | 
void | 
setCertificateAlias(String CertificateAlias)
Set Certificate name 
 | 
void | 
setCertificateContent(String CertificateContent)
Set Certificate content. 
 | 
void | 
setCertificateKey(String CertificateKey)
Set URL-encoded key content. 
 | 
void | 
setCertificateType(Long CertificateType)
Set Certificate type. 
 | 
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 CreateCertificateRequest()
public CreateCertificateRequest(CreateCertificateRequest source)
public Long getCertificateType()
public void setCertificateType(Long CertificateType)
CertificateType - Certificate type. Where:
`0`: Basic authentication configuration;
`1`: Client CA certificate;
`2`: Server SSL certificate;
`3`: Origin server CA certificate;
`4`: Connection SSL certificate.public String getCertificateContent()
public void setCertificateContent(String CertificateContent)
CertificateContent - Certificate content. URL encoding. Where:
If the certificate type is basic authentication, enter username/password pair for this parameter. Format: “username:password”, for example, root:FSGdT. The password is `htpasswd` or `openssl`, for example, openssl passwd -crypt 123456.
When the certificate type is CA/SSL certificate, enter the certificate content for this parameter in the format of ‘pem’.public String getCertificateAlias()
public void setCertificateAlias(String CertificateAlias)
CertificateAlias - Certificate namepublic String getCertificateKey()
public void setCertificateKey(String CertificateKey)
CertificateKey - URL-encoded key content. This parameter is required only when the certificate type is SSL certificate. Its format is `PEM`.Copyright © 2022. All rights reserved.