Skip to content

PrepayDBInstanceProps

Properties for defining a PrepayDBInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-prepaydbinstance

Initializer

import com.aliyun.ros.cdk.rds.PrepayDBInstanceProps;
PrepayDBInstanceProps.builder()
    .commodityCode(java.lang.String)
    .commodityCode(IResolvable)
    .dbInstanceClass(java.lang.String)
    .dbInstanceClass(IResolvable)
    .dbInstanceStorage(java.lang.Number)
    .dbInstanceStorage(IResolvable)
    .engine(java.lang.String)
    .engine(IResolvable)
    .engineVersion(java.lang.String)
    .engineVersion(IResolvable)
    .period(java.lang.Number)
    .period(IResolvable)
    .periodType(java.lang.String)
    .periodType(IResolvable)
//  .allocatePublicConnection(java.lang.Boolean)
//  .allocatePublicConnection(IResolvable)
//  .archiveBackupKeepCount(java.lang.Number)
//  .archiveBackupKeepCount(IResolvable)
//  .archiveBackupKeepPolicy(java.lang.String)
//  .archiveBackupKeepPolicy(IResolvable)
//  .archiveBackupRetentionPeriod(java.lang.Number)
//  .archiveBackupRetentionPeriod(IResolvable)
//  .autoPay(java.lang.Boolean)
//  .autoPay(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .backUpCategory(java.lang.String)
//  .backUpCategory(IResolvable)
//  .backupPolicyMode(java.lang.String)
//  .backupPolicyMode(IResolvable)
//  .backupRetentionPeriod(java.lang.Number)
//  .backupRetentionPeriod(IResolvable)
//  .burstingEnabled(java.lang.Boolean)
//  .burstingEnabled(IResolvable)
//  .category(java.lang.String)
//  .category(IResolvable)
//  .coldDataEnabled(java.lang.Boolean)
//  .coldDataEnabled(IResolvable)
//  .compressType(java.lang.Number)
//  .compressType(IResolvable)
//  .connectionMode(java.lang.String)
//  .connectionMode(IResolvable)
//  .connectionStringPrefix(java.lang.String)
//  .connectionStringPrefix(IResolvable)
//  .connectionStringType(java.lang.String)
//  .connectionStringType(IResolvable)
//  .couponCode(java.lang.String)
//  .couponCode(IResolvable)
//  .dbInstanceDescription(java.lang.String)
//  .dbInstanceDescription(IResolvable)
//  .dbInstanceNetType(java.lang.String)
//  .dbInstanceNetType(IResolvable)
//  .dbInstanceStorageType(java.lang.String)
//  .dbInstanceStorageType(IResolvable)
//  .dbIsIgnoreCase(java.lang.Number)
//  .dbIsIgnoreCase(IResolvable)
//  .dbMappings(IResolvable)
//  .dbMappings(java.util.List<IResolvable)
//  .dbMappings(DBMappingsProperty>)
//  .dbParamGroupId(java.lang.String)
//  .dbParamGroupId(IResolvable)
//  .dbTimeZone(java.lang.String)
//  .dbTimeZone(IResolvable)
//  .dedicatedHostGroupId(java.lang.String)
//  .dedicatedHostGroupId(IResolvable)
//  .enableBackupLog(java.lang.Boolean)
//  .enableBackupLog(IResolvable)
//  .encryptionKey(java.lang.String)
//  .encryptionKey(IResolvable)
//  .highSpaceUsageProtection(java.lang.String)
//  .highSpaceUsageProtection(IResolvable)
//  .instanceNetworkType(java.lang.String)
//  .instanceNetworkType(IResolvable)
//  .ioAccelerationEnabled(java.lang.String)
//  .ioAccelerationEnabled(IResolvable)
//  .localLogRetentionHours(java.lang.Number)
//  .localLogRetentionHours(IResolvable)
//  .localLogRetentionSpace(java.lang.Number)
//  .localLogRetentionSpace(IResolvable)
//  .logBackupFrequency(java.lang.String)
//  .logBackupFrequency(IResolvable)
//  .logBackupLocalRetentionNumber(java.lang.Number)
//  .logBackupLocalRetentionNumber(IResolvable)
//  .logBackupRetentionPeriod(java.lang.Number)
//  .logBackupRetentionPeriod(IResolvable)
//  .maintainTime(java.lang.String)
//  .maintainTime(IResolvable)
//  .masterUsername(java.lang.String)
//  .masterUsername(IResolvable)
//  .masterUserPassword(java.lang.String)
//  .masterUserPassword(IResolvable)
//  .masterUserType(java.lang.String)
//  .masterUserType(IResolvable)
//  .multiAz(java.lang.Boolean)
//  .multiAz(IResolvable)
//  .port(java.lang.Number)
//  .port(IResolvable)
//  .preferredBackupPeriod(IResolvable)
//  .preferredBackupPeriod(java.util.List<java.lang.String)
//  .preferredBackupPeriod(IResolvable>)
//  .preferredBackupTime(java.lang.String)
//  .preferredBackupTime(IResolvable)
//  .privateIpAddress(java.lang.String)
//  .privateIpAddress(IResolvable)
//  .quantity(java.lang.Number)
//  .quantity(IResolvable)
//  .releasedKeepPolicy(java.lang.String)
//  .releasedKeepPolicy(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .roleArn(java.lang.String)
//  .roleArn(IResolvable)
//  .securityGroupId(java.lang.String)
//  .securityGroupId(IResolvable)
//  .serverlessConfig(IResolvable)
//  .serverlessConfig(ServerlessConfigProperty)
//  .slaveZoneIds(IResolvable)
//  .slaveZoneIds(java.util.List<java.lang.String)
//  .slaveZoneIds(IResolvable>)
//  .sqlCollectorStatus(java.lang.String)
//  .sqlCollectorStatus(IResolvable)
//  .sslSetting(java.lang.String)
//  .sslSetting(IResolvable)
//  .storageAutoScale(java.lang.String)
//  .storageAutoScale(IResolvable)
//  .storageThreshold(java.lang.Number)
//  .storageThreshold(IResolvable)
//  .storageUpperBound(java.lang.Number)
//  .storageUpperBound(IResolvable)
//  .tags(java.util.Map<java.lang.String, java.lang.Object>)
//  .targetDedicatedHostIdForLog(java.lang.String)
//  .targetDedicatedHostIdForLog(IResolvable)
//  .targetDedicatedHostIdForMaster(java.lang.String)
//  .targetDedicatedHostIdForMaster(IResolvable)
//  .targetDedicatedHostIdForSlave(java.lang.String)
//  .targetDedicatedHostIdForSlave(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .vSwitchId(java.lang.String)
//  .vSwitchId(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
commodityCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property commodityCode: The CommodityCode of the order.
dbInstanceClass java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceClass: Database instance type.
dbInstanceStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceStorage: The storage capacity of the instance.
engine java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engine: Database instance engine type.
engineVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engineVersion: Database instance version of the relative engine type.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: Prepaid time period.
periodType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodType: Charge period for created instances.
allocatePublicConnection java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property allocatePublicConnection: If true, allocate public connection automate.
archiveBackupKeepCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property archiveBackupKeepCount: The number of archived backups that can be retained.
archiveBackupKeepPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property archiveBackupKeepPolicy: The period for which to retain archived backups.
archiveBackupRetentionPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property archiveBackupRetentionPeriod: The number of days for which to retain archived backups.
autoPay java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoPay: Automatic Payment.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: Auto renew the prepay instance.
backUpCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property backUpCategory: Specifies whether to enable the second-level backup function.
backupPolicyMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property backupPolicyMode: Backup type, DataBackupPolicy: data backup LogBackupPolicy: log backup.
backupRetentionPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property backupRetentionPeriod: The retention period of the data backup.
burstingEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property burstingEnabled: Whether to enable bursting.
category java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property category: The edition of the instance.
coldDataEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property coldDataEnabled: Whether to enable cold data storage.
compressType java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property compressType: The format used to compress backups.
connectionMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property connectionMode: Connection Mode for database instance,support 'Standard' and 'Safe' mode.
connectionStringPrefix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property connectionStringPrefix: The prefix of the endpoint.
connectionStringType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property connectionStringType: The endpoint type of the instance, allow values: Inner, Public.
couponCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property couponCode: The coupon code of the order.
dbInstanceDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceDescription: Description of created database instance.
dbInstanceNetType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceNetType: Database instance net type, default is Intranet.Internet for public access, Intranet for private access.
dbInstanceStorageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceStorageType: The storage type of the instance.
dbIsIgnoreCase java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property dbIsIgnoreCase: Specifies whether table names are case-sensitive.
dbMappings com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDBMappingsProperty> Property dbMappings: Database mappings to attach to db instance.
dbParamGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbParamGroupId: The ID of the parameter template used by the instance.
dbTimeZone java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbTimeZone: The UTC time zone of the instance.
dedicatedHostGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostGroupId: The ID of the host group to which the instance belongs if you create an instance in a host group.
enableBackupLog java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property enableBackupLog: Specifies whether to enable the log backup function.
encryptionKey java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property encryptionKey: The ID of the encryption key that is used to encrypt data on SSDs in the region.
highSpaceUsageProtection java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property highSpaceUsageProtection: Specifies whether to forcibly delete log backup files when the space usage of the instance exceeds 80% or the remaining space is less than 5 GB.
instanceNetworkType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceNetworkType: Instance network type, VPC or Classic.
ioAccelerationEnabled java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ioAccelerationEnabled: Whether to enable IO Acceleration, 1 for enable 0 for disable.
localLogRetentionHours java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property localLogRetentionHours: The number of hours for which to retain log backup files on the instance.
localLogRetentionSpace java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property localLogRetentionSpace: The maximum percentage of space that is allowed to store log backup files on the instance.
logBackupFrequency java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property logBackupFrequency: The frequency at which to back up logs.
logBackupLocalRetentionNumber java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property logBackupLocalRetentionNumber: The number of log backup files that can be retained on the instance.
logBackupRetentionPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property logBackupRetentionPeriod: The number of days for which to retain log backup files.
maintainTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property maintainTime: The period during which the maintenance performs.
masterUsername java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property masterUsername: The master user name for the database instance.
masterUserPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property masterUserPassword: The master password for the database instance.
masterUserType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property masterUserType: Privilege type of account.
multiAz java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property multiAz: Specifies if the database instance is a multiple Availability Zone deployment.
port java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property port: The port of the database service.
preferredBackupPeriod com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property preferredBackupPeriod: The backup period.
preferredBackupTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property preferredBackupTime: The time when the backup task is performed.
privateIpAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property privateIpAddress: The private ip for created instance.
quantity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property quantity: The number of instance to be created, default is 1, max number is 99.
releasedKeepPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property releasedKeepPolicy: The policy used to retain archived backups if the instance is released.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
roleArn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property roleArn: The Alibaba Cloud Resource Name (ARN) provided to the service account of the instance by your Alibaba Cloud account to connect to KMS.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: The ID of the ECS security groups.
serverlessConfig com.aliyun.ros.cdk.core.IResolvable OR ServerlessConfigProperty Property serverlessConfig: The config of RDS serverless instance.
slaveZoneIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property slaveZoneIds: List of slave zone ids can specify slave zone ids when creating the high-availability or enterprise edition instance.
sqlCollectorStatus java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sqlCollectorStatus: Specifies whether to enable or disable the SQL Explorer (SQL audit) feature.
sslSetting java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sslSetting: Secure Sockets Layer (SSL) link setting of the instance.
storageAutoScale java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property storageAutoScale: Storage space automatic expansion switch, only supported by MySQL and PostgreSQL.
storageThreshold java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property storageThreshold: Storage space automatic expansion trigger threshold (percentage).
storageUpperBound java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property storageUpperBound: The total storage space upper limit for automatic storage space expansion, that is, automatic expansion will not cause the total storage space of the instance to exceed this value.
tags java.util.Map Property tags: The tags of an instance.
targetDedicatedHostIdForLog java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetDedicatedHostIdForLog: The ID of the host to which the instance belongs if you create a log instance in a host group.
targetDedicatedHostIdForMaster java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetDedicatedHostIdForMaster: The ID of the host to which the instance belongs if you create a primary instance in a host group.
targetDedicatedHostIdForSlave java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetDedicatedHostIdForSlave: The ID of the host to which the instance belongs if you create a secondary instance in a host group.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The VPC id of created database instance.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The vSwitch id of created instance.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: selected zone to create database instance.

commodityCodeRequired

public java.lang.Object getCommodityCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property commodityCode: The CommodityCode of the order.


dbInstanceClassRequired

public java.lang.Object getDbInstanceClass();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceClass: Database instance type.

Refer the RDS database instance type reference, such as 'rds.mys2.large', 'rds.mss1.large', 'rds.pg.s1.small' etc


dbInstanceStorageRequired

public java.lang.Object getDbInstanceStorage();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceStorage: The storage capacity of the instance.

Unit: GB. The storage capacity increases in increments of 5 GB. You can call the DescribeAvailableResource operation to query the storage capacity range that is supported for a specified instance type in a region.


engineRequired

public java.lang.Object getEngine();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property engine: Database instance engine type.

Support MySQL/SQLServer/PostgreSQL/PPAS/MariaDB now.


engineVersionRequired

public java.lang.Object getEngineVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property engineVersion: Database instance version of the relative engine type.

Support: Valid values when you set the Engine parameter to MySQL: 5.5, 5.6, 5.7, and 8.0 Valid values when you set the Engine parameter to SQL Server: 2008r2, 08r2_ent_ha, 2012, 2012_ent_ha, 2012_std_ha, 2012_web, 2014_std_ha, 2016_ent_ha, 2016_std_ha, 2016_web, 2017_std_ha, 2017_ent, 2019_std_ha, and 2019_ent Valid values when you set the Engine parameter to PostgreSQL: 10.0, 11.0, 12.0, 13.0, and 14.0 Valid values when you set the Engine parameter to MariaDB: 10.3


periodRequired

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property period: Prepaid time period.

While choose by pay by month, it could be from 1 to 9. While choose pay by year, it could be from 1 to 3.


periodTypeRequired

public java.lang.Object getPeriodType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property periodType: Charge period for created instances.


allocatePublicConnectionOptional

public java.lang.Object getAllocatePublicConnection();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property allocatePublicConnection: If true, allocate public connection automate.


archiveBackupKeepCountOptional

public java.lang.Object getArchiveBackupKeepCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property archiveBackupKeepCount: The number of archived backups that can be retained.

Default value: 1. Valid values: The value of this parameter ranges from 1 to 31 when the ArchiveBackupKeepPolicy parameter is set to ByMonth. The value of this parameter ranges from 1 to 7 when the ArchiveBackupKeepPolicy parameter is set to ByWeek. Note You do not need to specify this parameter when the ArchiveBackupKeepPolicy parameter is set to KeepAll.


archiveBackupKeepPolicyOptional

public java.lang.Object getArchiveBackupKeepPolicy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property archiveBackupKeepPolicy: The period for which to retain archived backups.

The number of archived backups that can be retained within the specified period is determined by the ArchiveBackupKeepCount parameter. Default value: 0. Valid values: ByMonth ByWeek KeepAll


archiveBackupRetentionPeriodOptional

public java.lang.Object getArchiveBackupRetentionPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property archiveBackupRetentionPeriod: The number of days for which to retain archived backups.

The default value 0 specifies not to enable the backup archiving function. Valid values: 30 to 1095.


autoPayOptional

public java.lang.Object getAutoPay();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoPay: Automatic Payment.

Default is true.


autoRenewOptional

public java.lang.Object getAutoRenew();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenew: Auto renew the prepay instance.

If the period type is by year, it will renew by year, else it will renew by month.


backUpCategoryOptional

public java.lang.Object getBackUpCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property backUpCategory: Specifies whether to enable the second-level backup function.

This function allows a backup to be completed within seconds. Valid values: Flash: specifies to enable the second-level backup function. Standard: specifies to disable the second-level backup function.


backupPolicyModeOptional

public java.lang.Object getBackupPolicyMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property backupPolicyMode: Backup type, DataBackupPolicy: data backup LogBackupPolicy: log backup.


backupRetentionPeriodOptional

public java.lang.Object getBackupRetentionPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property backupRetentionPeriod: The retention period of the data backup.

Value range: 7 to 730. The default value is the original value. Note When the BackupPolicyMode parameter is set to LogBackupPolicy, this parameter is required.


burstingEnabledOptional

public java.lang.Object getBurstingEnabled();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property burstingEnabled: Whether to enable bursting.


categoryOptional

public java.lang.Object getCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property category: The edition of the instance.

Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition cluster: RDS Cluster Edition AlwaysOn: RDS Cluster Edition for SQL Server Finance: RDS Enterprise Edition serverless_basic: RDS Serverless Basic Edition


coldDataEnabledOptional

public java.lang.Object getColdDataEnabled();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property coldDataEnabled: Whether to enable cold data storage.


compressTypeOptional

public java.lang.Object getCompressType();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property compressType: The format used to compress backups.

Valid values: 1: The zlib tool is used to compress backups into .tar.gz files. 4: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported only when the instance runs MySQL 5.6 or 5.7. It can be used to restore individual databases and tables. 8: The QuickLZ tool is used to compress backups into .xb.gz files. This compression format is supported only when the instance runs MySQL 8.0. It cannot be used to restore individual databases or tables.


connectionModeOptional

public java.lang.Object getConnectionMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property connectionMode: Connection Mode for database instance,support 'Standard' and 'Safe' mode.

Default is RDS system assigns.


connectionStringPrefixOptional

public java.lang.Object getConnectionStringPrefix();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property connectionStringPrefix: The prefix of the endpoint.

Only the prefix of the CurrentConnectionString parameter value can be modified. The prefix must be 8 to 64 characters in length and can contain letters, digits, and hyphens (-).


connectionStringTypeOptional

public java.lang.Object getConnectionStringType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property connectionStringType: The endpoint type of the instance, allow values: Inner, Public.


couponCodeOptional

public java.lang.Object getCouponCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property couponCode: The coupon code of the order.


dbInstanceDescriptionOptional

public java.lang.Object getDbInstanceDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceDescription: Description of created database instance.


dbInstanceNetTypeOptional

public java.lang.Object getDbInstanceNetType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceNetType: Database instance net type, default is Intranet.Internet for public access, Intranet for private access.


dbInstanceStorageTypeOptional

public java.lang.Object getDbInstanceStorageType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceStorageType: The storage type of the instance.

Valid values: local_ssd: specifies to use local SSDs. This is the recommended storage type. cloud_ssd: specifies to use standard SSDs. cloud_essd: enhanced SSD of performance level (PL)1. cloud_essd2: enhanced SSD of PL2. cloud_essd3: enhanced SSD of PL3.


dbIsIgnoreCaseOptional

public java.lang.Object getDbIsIgnoreCase();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property dbIsIgnoreCase: Specifies whether table names are case-sensitive.

Valid values: 1: Table names are not case-sensitive. This is the default value. 0: Table names are case-sensitive.


dbMappingsOptional

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

Property dbMappings: Database mappings to attach to db instance.


dbParamGroupIdOptional

public java.lang.Object getDbParamGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbParamGroupId: The ID of the parameter template used by the instance.


dbTimeZoneOptional

public java.lang.Object getDbTimeZone();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbTimeZone: The UTC time zone of the instance.

Valid values: -12:00 to +12:00. The time zone must be an integer value such as +08:00. Values such as +08:30 are not allowed.


dedicatedHostGroupIdOptional

public java.lang.Object getDedicatedHostGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dedicatedHostGroupId: The ID of the host group to which the instance belongs if you create an instance in a host group.


enableBackupLogOptional

public java.lang.Object getEnableBackupLog();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property enableBackupLog: Specifies whether to enable the log backup function.

Valid values: True: specifies to enable the log backup function. False: specifies to disable the log backup function. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


encryptionKeyOptional

public java.lang.Object getEncryptionKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property encryptionKey: The ID of the encryption key that is used to encrypt data on SSDs in the region.

You can view the encryption key ID in the Key Management Service (KMS) console. You can also create an encryption key.


highSpaceUsageProtectionOptional

public java.lang.Object getHighSpaceUsageProtection();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property highSpaceUsageProtection: Specifies whether to forcibly delete log backup files when the space usage of the instance exceeds 80% or the remaining space is less than 5 GB.

Valid values: Enable and Disable. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


instanceNetworkTypeOptional

public java.lang.Object getInstanceNetworkType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceNetworkType: Instance network type, VPC or Classic.


ioAccelerationEnabledOptional

public java.lang.Object getIoAccelerationEnabled();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ioAccelerationEnabled: Whether to enable IO Acceleration, 1 for enable 0 for disable.


localLogRetentionHoursOptional

public java.lang.Object getLocalLogRetentionHours();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property localLogRetentionHours: The number of hours for which to retain log backup files on the instance.

Valid values: 0 to 168. The value 0 specifies not to retain log backup files on the instance. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


localLogRetentionSpaceOptional

public java.lang.Object getLocalLogRetentionSpace();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property localLogRetentionSpace: The maximum percentage of space that is allowed to store log backup files on the instance.

If the space usage for log backup files exceeds this percentage, the system deletes earlier log backup files until the space usage falls below this percentage. Valid values:0 to 50. You can retain the default value. Note You must specify this parameter when the BackupPolicyMode parameter is set to LogBackupPolicy.


logBackupFrequencyOptional

public java.lang.Object getLogBackupFrequency();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property logBackupFrequency: The frequency at which to back up logs.

Valid values: The value LogInterval specifies to back up logs every 30 minutes. The default value of this parameter is the same as the data backup frequency. Note The value LogInterval is supported only when the instance runs SQL Server.


logBackupLocalRetentionNumberOptional

public java.lang.Object getLogBackupLocalRetentionNumber();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property logBackupLocalRetentionNumber: The number of log backup files that can be retained on the instance.

Default value: 60. Valid values: 6 to 100.


logBackupRetentionPeriodOptional

public java.lang.Object getLogBackupRetentionPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property logBackupRetentionPeriod: The number of days for which to retain log backup files.

Valid values: 7 to 730. The log backup retention period cannot be longer than the data backup retention period.Note If you enable the log backup function, you can specify the log backup retention period. This applies only when the instance runs MySQL, PostgreSQL, or PPAS.


maintainTimeOptional

public java.lang.Object getMaintainTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property maintainTime: The period during which the maintenance performs.

The format is HH:mmZ-HH:mmZ.


masterUsernameOptional

public java.lang.Object getMasterUsername();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property masterUsername: The master user name for the database instance.


masterUserPasswordOptional

public java.lang.Object getMasterUserPassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property masterUserPassword: The master password for the database instance.


masterUserTypeOptional

public java.lang.Object getMasterUserType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property masterUserType: Privilege type of account.

Normal: Common privilege. Super: High privilege. Sysadmin: Super privileges (SA) (only supported by SQL Server) The default value is Normal.


multiAzOptional

public java.lang.Object getMultiAz();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property multiAz: Specifies if the database instance is a multiple Availability Zone deployment.


portOptional

public java.lang.Object getPort();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property port: The port of the database service.


preferredBackupPeriodOptional

public java.lang.Object getPreferredBackupPeriod();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property preferredBackupPeriod: The backup period.

Separate multiple values with commas (,). The default value is the original value. Valid values:Monday Tuesday Wednesday Thursday Friday Saturday Sunday Note When the BackupPolicyMode parameter is set to DataBackupPolicy, this parameter is required.


preferredBackupTimeOptional

public java.lang.Object getPreferredBackupTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property preferredBackupTime: The time when the backup task is performed.

Format: yyyy-MM-ddZ-HH:mm:ssZ.Note When the BackupPolicyMode parameter is set to DataBackupPolicy, this parameter is required.


privateIpAddressOptional

public java.lang.Object getPrivateIpAddress();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property privateIpAddress: The private ip for created instance.


quantityOptional

public java.lang.Object getQuantity();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property quantity: The number of instance to be created, default is 1, max number is 99.


releasedKeepPolicyOptional

public java.lang.Object getReleasedKeepPolicy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property releasedKeepPolicy: The policy used to retain archived backups if the instance is released.

Default value: None. Valid values: Lastest: Only the last archived backup is retained. All: All of the archived backups are retained.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group id.


roleArnOptional

public java.lang.Object getRoleArn();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property roleArn: The Alibaba Cloud Resource Name (ARN) provided to the service account of the instance by your Alibaba Cloud account to connect to KMS.

You can copy the ARN from the RAM console.


securityGroupIdOptional

public java.lang.Object getSecurityGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupId: The ID of the ECS security groups.

Each RDS instance can be associated with up to three ECS security groups. You must separate them with commas (,). To delete an ECS Security group, leave this parameter empty.


serverlessConfigOptional

public java.lang.Object getServerlessConfig();

Property serverlessConfig: The config of RDS serverless instance.

This is required when creating serverless instance.


slaveZoneIdsOptional

public java.lang.Object getSlaveZoneIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property slaveZoneIds: List of slave zone ids can specify slave zone ids when creating the high-availability or enterprise edition instance.

Meanwhile, VSwitchId needs to pass in the corresponding vswitch id to the slave zone by order. For example, ZoneId = "zone-a" and SlaveZoneIds = ["zone-c", "zone-b"], then the VSwitchId must be "vsw-zone-a,vsw-zone-c,vsw-zone-b".


sqlCollectorStatusOptional

public java.lang.Object getSqlCollectorStatus();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sqlCollectorStatus: Specifies whether to enable or disable the SQL Explorer (SQL audit) feature.

Valid values:Enable | Disabled.


sslSettingOptional

public java.lang.Object getSslSetting();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sslSetting: Secure Sockets Layer (SSL) link setting of the instance.

Valid values: Disabled: Disable SSL EnabledForPublicConnection: Public connection address will be protected by the SSL certificate. It requires AllocatePublicConnection is true. EnabledForInnerConnection: Private connection address will be protected by the SSL certificate. Default value is Disabled.


storageAutoScaleOptional

public java.lang.Object getStorageAutoScale();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property storageAutoScale: Storage space automatic expansion switch, only supported by MySQL and PostgreSQL.


storageThresholdOptional

public java.lang.Object getStorageThreshold();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property storageThreshold: Storage space automatic expansion trigger threshold (percentage).


storageUpperBoundOptional

public java.lang.Object getStorageUpperBound();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property storageUpperBound: The total storage space upper limit for automatic storage space expansion, that is, automatic expansion will not cause the total storage space of the instance to exceed this value.


tagsOptional

public java.util.Map<java.lang.String, java.lang.Object> getTags();
  • Type: java.util.Map

Property tags: The tags of an instance.

You should input the information of the tag with the format of the Key-Value, such as {"key1":"value1","key2":"value2", ... "key5":"value5"}. At most 20 tags can be specified. Key It can be up to 64 characters in length. Cannot begin with aliyun. Cannot begin with http:// or https://. Cannot be a null string. Value It can be up to 128 characters in length. Cannot begin with aliyun. Cannot begin with http:// or https://. Can be a null string.


targetDedicatedHostIdForLogOptional

public java.lang.Object getTargetDedicatedHostIdForLog();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetDedicatedHostIdForLog: The ID of the host to which the instance belongs if you create a log instance in a host group.


targetDedicatedHostIdForMasterOptional

public java.lang.Object getTargetDedicatedHostIdForMaster();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetDedicatedHostIdForMaster: The ID of the host to which the instance belongs if you create a primary instance in a host group.


targetDedicatedHostIdForSlaveOptional

public java.lang.Object getTargetDedicatedHostIdForSlave();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetDedicatedHostIdForSlave: The ID of the host to which the instance belongs if you create a secondary instance in a host group.


vpcIdOptional

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The VPC id of created database instance.

For VPC network, the property is required.


vSwitchIdOptional

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The vSwitch id of created instance.

For VPC network, the property is required.


zoneIdOptional

public java.lang.Object getZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: selected zone to create database instance.

You cannot set the ZoneId parameter if the MultiAZ parameter is set to true.