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: Check whether the RDS instance is being created. |
dbInstType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property dbInstType: The type of the attached storage. |
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: Encoding used by the database. |
instDbName |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property instDbName:. |
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: This property is required only for vertical partitioning. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property type: Database Sharding method. |
drdsInstanceId
Required
public java.lang.Object getDrdsInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property drdsInstanceId: DRDS instance ID.
accountName
Optional
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.
dbInstanceIsCreating
Optional
public java.lang.Object getDbInstanceIsCreating();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceIsCreating: Check whether the RDS instance is being created.
dbInstType
Optional
public java.lang.Object getDbInstType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstType: The type of the attached storage.
Valid values: RDS or POLARDB
dbName
Optional
public java.lang.Object getDbName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbName: Database Name.
encode
Optional
public java.lang.Object getEncode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property encode: Encoding used by the database.
instDbName
Optional
public java.lang.Object getInstDbName();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InstDbNameProperty>
Property instDbName:.
password
Optional
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.
rdsInstance
Optional
public java.lang.Object getRdsInstance();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property rdsInstance: This property is required only for vertical partitioning.
type
Optional
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.