InstancePublicConnectionProps
Properties for defining a InstancePublicConnection.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-instancepublicconnection
Initializer
import com.aliyun.ros.cdk.gpdb.InstancePublicConnectionProps;
InstancePublicConnectionProps.builder()
.connectionStringPrefix(java.lang.String)
.connectionStringPrefix(IResolvable)
.dbInstanceId(java.lang.String)
.dbInstanceId(IResolvable)
.port(java.lang.Number)
.port(IResolvable)
// .addressType(java.lang.String)
// .addressType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
connectionStringPrefix | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property connectionStringPrefix: The prefix of the endpoint. |
dbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceId: The ID of the instance. |
port | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property port: The port number of the instance. |
addressType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property addressType: Network type. Valid values:. |
connectionStringPrefixRequired
public java.lang.Object getConnectionStringPrefix();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property connectionStringPrefix: The prefix of the endpoint.
Specify a prefix for the endpoint. Example: gp-bp12ga6v69h86**. In this example, the endpoint is gp-bp12ga6v69h86**.gpdb.rds.example.com.
dbInstanceIdRequired
public java.lang.Object getDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceId: The ID of the instance.
portRequired
public java.lang.Object getPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property port: The port number of the instance.
addressTypeOptional
public java.lang.Object getAddressType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property addressType: Network type. Valid values:.
- primary: Primary address.
- cluster: Cluster address, only multi-coordination node instances support creating cluster addresses.
Default is primary address.