RdsExternalStoreProps
Properties for defining a RdsExternalStore.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-rdsexternalstore
Initializer
import com.aliyun.ros.cdk.sls.RdsExternalStoreProps;
RdsExternalStoreProps.builder()
.db(java.lang.String)
.db(IResolvable)
.externalStoreName(java.lang.String)
.externalStoreName(IResolvable)
.host(java.lang.String)
.host(IResolvable)
.password(java.lang.String)
.password(IResolvable)
.port(java.lang.Number)
.port(IResolvable)
.project(java.lang.String)
.project(IResolvable)
.region(java.lang.String)
.region(IResolvable)
.storeType(java.lang.String)
.storeType(IResolvable)
.table(java.lang.String)
.table(IResolvable)
.username(java.lang.String)
.username(IResolvable)
.vpcId(java.lang.String)
.vpcId(IResolvable)
// .instanceId(java.lang.String)
// .instanceId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
db | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property db: The name of the database in the ApsaraDB RDS for MySQL instance. |
externalStoreName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property externalStoreName: The name of the external store. |
host | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance. |
password | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance. |
port | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property port: The internal or public port of the ApsaraDB RDS for MySQL instance. |
project | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property project: The name of the project. |
region | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property region: The region where the ApsaraDB RDS for MySQL instance resides. |
storeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property storeType: The storage type. |
table | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property table: The name of the database table in the ApsaraDB RDS for MySQL instance. |
username | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance. |
vpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs. |
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: The id of the RDS instance. |
dbRequired
public java.lang.Object getDb();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property db: The name of the database in the ApsaraDB RDS for MySQL instance.
externalStoreNameRequired
public java.lang.Object getExternalStoreName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property externalStoreName: The name of the external store.
The name must be unique in a project and different from Logstore.
hostRequired
public java.lang.Object getHost();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property host: The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
passwordRequired
public java.lang.Object getPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property password: The password that is used to log on to the ApsaraDB RDS for MySQL instance.
portRequired
public java.lang.Object getPort();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property port: The internal or public port of the ApsaraDB RDS for MySQL instance.
projectRequired
public java.lang.Object getProject();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property project: The name of the project.
regionRequired
public java.lang.Object getRegion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property region: The region where the ApsaraDB RDS for MySQL instance resides.
Valid values: cn-qingdao, cn-beijing, cn-hangzhou.
storeTypeRequired
public java.lang.Object getStoreType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property storeType: The storage type.
Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
tableRequired
public java.lang.Object getTable();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property table: The name of the database table in the ApsaraDB RDS for MySQL instance.
usernameRequired
public java.lang.Object getUsername();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property username: The username that is used to log on to the ApsaraDB RDS for MySQL instance.
vpcIdRequired
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
instanceIdOptional
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The id of the RDS instance.