Class CreateCertificateRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gaap.v20180529.models.CreateCertificateRequest
-
public class CreateCertificateRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateCertificateRequest()CreateCertificateRequest(CreateCertificateRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCertificateAlias()Get 证书名称StringgetCertificateContent()Get 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。StringgetCertificateKey()Get 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。LonggetCertificateType()Get 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。voidsetCertificateAlias(String CertificateAlias)Set 证书名称voidsetCertificateContent(String CertificateContent)Set 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。voidsetCertificateKey(String CertificateKey)Set 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。voidsetCertificateType(Long CertificateType)Set 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateCertificateRequest
public CreateCertificateRequest()
-
CreateCertificateRequest
public CreateCertificateRequest(CreateCertificateRequest 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.
-
-
Method Detail
-
getCertificateType
public Long getCertificateType()
Get 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。- Returns:
- CertificateType 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。
-
setCertificateType
public void setCertificateType(Long CertificateType)
Set 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。- Parameters:
CertificateType- 证书类型。其中: 0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。
-
getCertificateContent
public String getCertificateContent()
Get 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。- Returns:
- CertificateContent 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
-
setCertificateContent
public void setCertificateContent(String CertificateContent)
Set 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。- Parameters:
CertificateContent- 证书内容。采用url编码。其中: 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
-
getCertificateAlias
public String getCertificateAlias()
Get 证书名称- Returns:
- CertificateAlias 证书名称
-
setCertificateAlias
public void setCertificateAlias(String CertificateAlias)
Set 证书名称- Parameters:
CertificateAlias- 证书名称
-
getCertificateKey
public String getCertificateKey()
Get 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。- Returns:
- CertificateKey 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。
-
setCertificateKey
public void setCertificateKey(String CertificateKey)
Set 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。- Parameters:
CertificateKey- 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。
-
-