OriginClientCertificateProps
Properties for defining a OriginClientCertificate.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-originclientcertificate
Initializer
import com.aliyun.ros.cdk.esa.OriginClientCertificateProps;
OriginClientCertificateProps.builder()
.certificate(java.lang.String)
.certificate(IResolvable)
.privateKey(java.lang.String)
.privateKey(IResolvable)
.siteId(java.lang.Number)
.siteId(IResolvable)
// .hostnames(IResolvable)
// .hostnames(java.util.List<java.lang.String)
// .hostnames(IResolvable>)
// .originClientCertificateName(java.lang.String)
// .originClientCertificateName(IResolvable)
// .validityDays(java.lang.Number)
// .validityDays(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
certificate | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property certificate: The certificate content. |
privateKey | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property privateKey: The private key of the certificate. |
siteId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property siteId: The website ID. |
hostnames | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property hostnames: The domain names to associate. |
originClientCertificateName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property originClientCertificateName: The certificate name. |
validityDays | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property validityDays: The validity period of the certificate. |
certificateRequired
public java.lang.Object getCertificate();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property certificate: The certificate content.
privateKeyRequired
public java.lang.Object getPrivateKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property privateKey: The private key of the certificate.
siteIdRequired
public java.lang.Object getSiteId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property siteId: The website ID.
hostnamesOptional
public java.lang.Object getHostnames();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property hostnames: The domain names to associate.
originClientCertificateNameOptional
public java.lang.Object getOriginClientCertificateName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property originClientCertificateName: The certificate name.
validityDaysOptional
public java.lang.Object getValidityDays();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property validityDays: The validity period of the certificate.
Unit: day.