public class UploadCertificateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
UploadCertificateRequest()  | 
UploadCertificateRequest(UploadCertificateRequest 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 | 
getAlias()
Get Alias 
 | 
String | 
getCertificatePrivateKey()
Get Private key content. 
 | 
String | 
getCertificatePublicKey()
Get Public key of the certificate 
 | 
String | 
getCertificateType()
Get Certificate type. 
 | 
String | 
getCertificateUse()
Get Certificate Usage/Source, such as CLB, CDN, WAF, LIVE, DDOS. 
 | 
Long | 
getProjectId()
Get Project ID 
 | 
Boolean | 
getRepeatable()
Get Whether to allow duplicate upload of the same certificate, true: allow uploading certificates with the same fingerprint; false: do not allow uploading certificates with the same fingerprint. 
 | 
Tags[] | 
getTags()
Get The list of tags. 
 | 
void | 
setAlias(String Alias)
Set Alias 
 | 
void | 
setCertificatePrivateKey(String CertificatePrivateKey)
Set Private key content. 
 | 
void | 
setCertificatePublicKey(String CertificatePublicKey)
Set Public key of the certificate 
 | 
void | 
setCertificateType(String CertificateType)
Set Certificate type. 
 | 
void | 
setCertificateUse(String CertificateUse)
Set Certificate Usage/Source, such as CLB, CDN, WAF, LIVE, DDOS. 
 | 
void | 
setProjectId(Long ProjectId)
Set Project ID 
 | 
void | 
setRepeatable(Boolean Repeatable)
Set Whether to allow duplicate upload of the same certificate, true: allow uploading certificates with the same fingerprint; false: do not allow uploading certificates with the same fingerprint. 
 | 
void | 
setTags(Tags[] Tags)
Set The list of tags. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UploadCertificateRequest()
public UploadCertificateRequest(UploadCertificateRequest source)
public String getCertificatePublicKey()
public void setCertificatePublicKey(String CertificatePublicKey)
CertificatePublicKey - Public key of the certificatepublic String getCertificatePrivateKey()
public void setCertificatePrivateKey(String CertificatePrivateKey)
CertificatePrivateKey - Private key content. This parameter is required when the certificate type is SVR, and not required when the certificate type is CA.public String getCertificateType()
public void setCertificateType(String CertificateType)
CertificateType - Certificate type. Valid values: `CA` (CA certificate) and `SVR` (server certificate). Default value: `SVR`public String getAlias()
public void setAlias(String Alias)
Alias - Aliaspublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - Project IDpublic String getCertificateUse()
public void setCertificateUse(String CertificateUse)
CertificateUse - Certificate Usage/Source, such as CLB, CDN, WAF, LIVE, DDOS.public Tags[] getTags()
public void setTags(Tags[] Tags)
Tags - The list of tags.public Boolean getRepeatable()
public void setRepeatable(Boolean Repeatable)
Repeatable - Whether to allow duplicate upload of the same certificate, true: allow uploading certificates with the same fingerprint; false: do not allow uploading certificates with the same fingerprint. default value: true.Copyright © 2025. All rights reserved.