public class AssociateWebCertRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
cert
The public key of the certificate that you want to associate.
|
Integer |
certId
The ID of the certificate.
|
String |
certIdentifier
The globally unique ID of the certificate.
|
String |
certName
The name of the certificate.
|
String |
certRegion
The region of the certificate.
|
String |
domain
The domain name of the website.
|
String |
key
The private key of the certificate that you want to associate.
|
| 构造器和说明 |
|---|
AssociateWebCertRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AssociateWebCertRequest |
build(Map<String,?> map) |
String |
getCert() |
Integer |
getCertId() |
String |
getCertIdentifier() |
String |
getCertName() |
String |
getCertRegion() |
String |
getDomain() |
String |
getKey() |
AssociateWebCertRequest |
setCert(String cert) |
AssociateWebCertRequest |
setCertId(Integer certId) |
AssociateWebCertRequest |
setCertIdentifier(String certIdentifier) |
AssociateWebCertRequest |
setCertName(String certName) |
AssociateWebCertRequest |
setCertRegion(String certRegion) |
AssociateWebCertRequest |
setDomain(String domain) |
AssociateWebCertRequest |
setKey(String key) |
@NameInMap(value="Cert") public String cert
The public key of the certificate that you want to associate. This parameter must be used together with the CertName and Key parameters.
example:If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
-----BEGIN CERTIFICATE----- 62EcYPWd2Oy1vs6MTXcJSfN9Z7rZ9fmxWr2BFN2XbahgnsSXM48ixZJ4krc+1M+j2kcubVpsE2cgHdj4v8H6jUz9Ji4mr7vMNS6dXv8PUkl/qoDeNGCNdyTS5NIL5ir+g92cL8IGOkjgvhlqt9vc65Cgb4mL+n5+DV9uOyTZTW/MojmlgfUekC2xiXa54nxJf17Y1TADGSbyJbsC0Q9nIrHsPl8YKkvRWvIAqYxXZ7wRwWWmv4TMxFhWRiNY7yZIo2ZUhl02SIDNggIEeg== -----END CERTIFICATE-----
@NameInMap(value="CertId") public Integer certId
The ID of the certificate.
example:If you specify a certificate ID, you do not need to specify a value for the CertName, Cert, and Key parameters. You can specify only one of this parameter and the CertIdentifier parameter.
2404693
@NameInMap(value="CertIdentifier") public String certIdentifier
The globally unique ID of the certificate. The value is in the "Certificate ID-cn-hangzhou" format. For example, if the ID of the certificate is 123, the value of the CertIdentifier parameter is 123-cn-hangzhou.
example:You can specify only one of this parameter and the CertId parameter.
9430680-cn-hangzhou
@NameInMap(value="CertName") public String certName
The name of the certificate.
example:You can specify the name of the certificate that you want to associate. This parameter must be used together with the Cert and Key parameters.
example-cert
@NameInMap(value="CertRegion") public String certRegion
The region of the certificate. Valid values: cn-hangzhou and ap-southeast-1. Default value: cn-hangzhou.
example:cn-hangzhou
@NameInMap(value="Domain") public String domain
The domain name of the website.
A forwarding rule must be configured for the domain name. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:@NameInMap(value="Key") public String key
The private key of the certificate that you want to associate. This parameter must be used together with the CertName and Cert parameters.
example:If you specify a value for the CertName, Cert, and Key parameters, you do not need to specify a value for the CertId parameter.
-----BEGIN RSA PRIVATE KEY----- DADTPZoOHd9WtZ3UKHJTRgNQmioPQn2bqdKHop+B/dn/4VZL7Jt8zSDGM9sTMThLyvsmLQKBgQCr+ujntC1kN6pGBj2Fw2l/EA/W3rYEce2tyhjgmG7rZ+A/jVE9fld5sQra6ZdwBcQJaiygoIYoaMF2EjRwc0qwHaluq0C15f6ujSoHh2e+D5zdmkTg/3NKNjqNv6xA2gYpinVDzFdZ9Zujxvuh9o4Vqf0YF8bv5UK5G04RtKadOw== -----END RSA PRIVATE KEY-----
public static AssociateWebCertRequest build(Map<String,?> map) throws Exception
Exceptionpublic AssociateWebCertRequest setCert(String cert)
public String getCert()
public AssociateWebCertRequest setCertId(Integer certId)
public Integer getCertId()
public AssociateWebCertRequest setCertIdentifier(String certIdentifier)
public String getCertIdentifier()
public AssociateWebCertRequest setCertName(String certName)
public String getCertName()
public AssociateWebCertRequest setCertRegion(String certRegion)
public String getCertRegion()
public AssociateWebCertRequest setDomain(String domain)
public String getDomain()
public AssociateWebCertRequest setKey(String key)
public String getKey()
Copyright © 2026. All rights reserved.