DBClusterEndpointAddressProps
Properties for defining a DBClusterEndpointAddress
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-dbclusterendpointaddress
Initializer
import com.aliyun.ros.cdk.polardb.DBClusterEndpointAddressProps;
DBClusterEndpointAddressProps.builder()
.dbClusterId(java.lang.String)
.dbClusterId(IResolvable)
.dbEndpointId(java.lang.String)
.dbEndpointId(IResolvable)
// .connectionStringPrefix(java.lang.String)
// .connectionStringPrefix(IResolvable)
// .netType(java.lang.String)
// .netType(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
dbClusterId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a public connection point is to be created. |
dbEndpointId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbEndpointId: The ID of the cluster connection point. |
connectionStringPrefix |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property connectionStringPrefix: The prefix of the connection string. |
netType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property netType: The network type of the connection string. |
dbClusterId
Required
public java.lang.Object getDbClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbClusterId: The ID of the ApsaraDB for POLARDB cluster for which a public connection point is to be created.
dbEndpointId
Required
public java.lang.Object getDbEndpointId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbEndpointId: The ID of the cluster connection point.
connectionStringPrefix
Optional
public java.lang.Object getConnectionStringPrefix();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property connectionStringPrefix: The prefix of the connection string.
The prefix must comply with the following rules: It must start with a letter and consist of lowercase letters, digits, and hyphens(-), cannot end with a dash. The length is 6~30 characters.
netType
Optional
public java.lang.Object getNetType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property netType: The network type of the connection string.
If set to Public, ROS will create, modify and delete Public address for you. If set to Private, ROS will only modify Private address for you. Default to Public.