CertificateProps
Properties for defining a Certificate
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-certificate
Initializer
import com.aliyun.ros.cdk.cas.CertificateProps;
CertificateProps.builder()
.cert(java.lang.String)
.cert(IResolvable)
.key(java.lang.String)
.key(IResolvable)
.name(java.lang.String)
.name(IResolvable)
// .lang(java.lang.String)
// .lang(IResolvable)
// .sourceIp(java.lang.String)
// .sourceIp(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
cert |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property cert: Specify the content of the certificate. |
key |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property key: Specify the certificate private key content. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: Custom certificate name. |
lang |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property lang: Specifies the language type for requesting and receiving messages. |
sourceIp |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceIp: Specifies the source IP address of the request. |
cert
Required
public java.lang.Object getCert();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property cert: Specify the content of the certificate.
To use the PEM encoding format.
key
Required
public java.lang.Object getKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property key: Specify the certificate private key content.
To use the PEM encoding format.
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: Custom certificate name.
The certificate name under a user cannot be duplicated.
lang
Optional
public java.lang.Object getLang();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property lang: Specifies the language type for requesting and receiving messages.
sourceIp
Optional
public java.lang.Object getSourceIp();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceIp: Specifies the source IP address of the request.