public class UploadCertificateRequest extends AbstractModel
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.
|
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 |
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 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. `CA`: client certificate; `SVR`: server certificate. The default value is 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 Boolean getRepeatable()
public void setRepeatable(Boolean Repeatable)
Repeatable
- Whether a certificate can be repeatedly uploaded.Copyright © 2023. All rights reserved.