public class CreateCertificateRequest extends AbstractModel
Constructor and Description |
---|
CreateCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCertificateAlias()
Get Certificate name
|
String |
getCertificateContent()
Get Certificate content.
|
String |
getCertificateKey()
Get 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 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, toJsonString
public Long getCertificateType()
public void setCertificateType(Long CertificateType)
CertificateType
- Certificate type. Where:
0: basic authentication configuration;
1: indicates 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
- Key content. URL encoding. This parameter is required only when the certificate type is SSL certificate. The format is `pem`.Copyright © 2020. All rights reserved.