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 | 
| Long | getProjectId()Get Project ID | 
| Boolean | getRepeatable()Get Whether a certificate can be repeatedly uploaded. | 
| 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 | 
| void | setProjectId(Long ProjectId)Set Project ID | 
| void | setRepeatable(Boolean Repeatable)Set Whether a certificate can be repeatedly uploaded. | 
| 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, 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 - public Tags[] getTags()
public void setTags(Tags[] Tags)
Tags - The list of tags.public Boolean getRepeatable()
public void setRepeatable(Boolean Repeatable)
Repeatable - Whether a certificate can be repeatedly uploaded.Copyright © 2024. All rights reserved.