public class CreateLiveCertRequest extends AbstractModel
Constructor and Description |
---|
CreateLiveCertRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCertName()
Get Certificate name.
|
Long |
getCertType()
Get Certificate type.
|
String |
getCloudCertId()
Get Tencent Cloud-hosted certificate ID.
|
String |
getDescription()
Get Description.
|
String |
getHttpsCrt()
Get Certificate content, i.e., public key.
|
String |
getHttpsKey()
Get Private key.
|
void |
setCertName(String CertName)
Set Certificate name.
|
void |
setCertType(Long CertType)
Set Certificate type.
|
void |
setCloudCertId(String CloudCertId)
Set Tencent Cloud-hosted certificate ID.
|
void |
setDescription(String Description)
Set Description.
|
void |
setHttpsCrt(String HttpsCrt)
Set Certificate content, i.e., public key.
|
void |
setHttpsKey(String HttpsKey)
Set Private key.
|
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 getCertType()
public void setCertType(Long CertType)
CertType
- Certificate type. 0: user-added certificate, 1: Tencent Cloud-hosted certificate.
Note: if the certificate type is 0, `HttpsCrt` and `HttpsKey` are required;
If the certificate type is 1, the certificate corresponding to `CloudCertId` will be used first. If `CloudCertId` is empty, `HttpsCrt` and `HttpsKey` will be used.public String getCertName()
public void setCertName(String CertName)
CertName
- Certificate name.public String getHttpsCrt()
public void setHttpsCrt(String HttpsCrt)
HttpsCrt
- Certificate content, i.e., public key.public String getHttpsKey()
public void setHttpsKey(String HttpsKey)
HttpsKey
- Private key.public String getDescription()
public void setDescription(String Description)
Description
- Description.public String getCloudCertId()
public void setCloudCertId(String CloudCertId)
CloudCertId
- Tencent Cloud-hosted certificate ID.Copyright © 2020. All rights reserved.