DrdsDBProps
Properties for defining a DrdsDB.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-drdsdb
Initializer
import com.aliyun.ros.cdk.drds.DrdsDBProps;
DrdsDBProps.builder()
.drdsInstanceId(java.lang.String)
.drdsInstanceId(IResolvable)
// .accountName(java.lang.String)
// .accountName(IResolvable)
// .dbInstanceIsCreating(java.lang.Boolean)
// .dbInstanceIsCreating(IResolvable)
// .dbInstType(java.lang.String)
// .dbInstType(IResolvable)
// .dbName(java.lang.String)
// .dbName(IResolvable)
// .encode(java.lang.String)
// .encode(IResolvable)
// .instDbName(IResolvable)
// .instDbName(java.util.List<IResolvable)
// .instDbName(InstDbNameProperty>)
// .password(java.lang.String)
// .password(IResolvable)
// .rdsInstance(IResolvable)
// .rdsInstance(java.util.List<java.lang.String)
// .rdsInstance(IResolvable>)
// .type(java.lang.String)
// .type(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
drdsInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property drdsInstanceId: DRDS instance ID. |
accountName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs. |
dbInstanceIsCreating | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceIsCreating: Specifies whether the required ApsaraDB RDS for MySQL instance is being created. |
dbInstType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstType: The type of the storage instances that are used by the PolarDB-X 1.0 database. Set the value to RDS. |
dbName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbName: Database Name. |
encode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property encode: The encoding method that is used by the database. |
instDbName | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property instDbName: List of databases. |
password | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property password: The logon password of the database instance. |
rdsInstance | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property rdsInstance: List of RDS instances. |
type | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property type: Database Sharding method. |
drdsInstanceIdRequired
public java.lang.Object getDrdsInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property drdsInstanceId: DRDS instance ID.
accountNameOptional
public java.lang.Object getAccountName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.
dbInstanceIsCreatingOptional
public java.lang.Object getDbInstanceIsCreating();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceIsCreating: Specifies whether the required ApsaraDB RDS for MySQL instance is being created.
dbInstTypeOptional
public java.lang.Object getDbInstType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstType: The type of the storage instances that are used by the PolarDB-X 1.0 database. Set the value to RDS.
dbNameOptional
public java.lang.Object getDbName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbName: Database Name.
encodeOptional
public java.lang.Object getEncode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property encode: The encoding method that is used by the database.
instDbNameOptional
public java.lang.Object getInstDbName();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InstDbNameProperty>
Property instDbName: List of databases.
passwordOptional
public java.lang.Object getPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property password: The logon password of the database instance.
rdsInstanceOptional
public java.lang.Object getRdsInstance();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property rdsInstance: List of RDS instances.
typeOptional
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: Database Sharding method.
For more information, see scalability principle. Valid values: HORIZONTAL: indicates HORIZONTAL partitioning, which is commonly known as database and table sharding. VERTICAL: indicates VERTICAL partitioning.