Skip to content

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.ListInstDbNameProperty> 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.

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: Check whether the RDS 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 attached storage.

Valid values: RDS or POLARDB


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: Encoding used by the database.


instDbNameOptional

public java.lang.Object getInstDbName();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInstDbNameProperty>

Property instDbName:.


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: This property is required only for vertical partitioning.


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.