| Modifier and Type | Method and Description |
|---|---|
DBCluster |
build() |
DBCluster.Builder |
category(com.aliyun.ros.cdk.core.IResolvable category)
Property category: The edition of the cluster.
|
DBCluster.Builder |
category(String category)
Property category: The edition of the cluster.
|
static DBCluster.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id) |
static DBCluster.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id,
Boolean enableResourcePropertyConstraint) |
DBCluster.Builder |
dbClusterDescription(com.aliyun.ros.cdk.core.IResolvable dbClusterDescription)
Property dbClusterDescription: The description of the cluster.
|
DBCluster.Builder |
dbClusterDescription(String dbClusterDescription)
Property dbClusterDescription: The description of the cluster.
|
DBCluster.Builder |
dbClusterNetworkType(com.aliyun.ros.cdk.core.IResolvable dbClusterNetworkType)
Property dbClusterNetworkType: Network type of the cluster instance, value: VPC.
|
DBCluster.Builder |
dbClusterNetworkType(String dbClusterNetworkType)
Property dbClusterNetworkType: Network type of the cluster instance, value: VPC.
|
DBCluster.Builder |
dbClusterType(com.aliyun.ros.cdk.core.IResolvable dbClusterType)
Property dbClusterType: The specification of the cluster.
|
DBCluster.Builder |
dbClusterType(String dbClusterType)
Property dbClusterType: The specification of the cluster.
|
DBCluster.Builder |
dbClusterVersion(com.aliyun.ros.cdk.core.IResolvable dbClusterVersion)
Property dbClusterVersion: Version, value: 19.15.2.2.
|
DBCluster.Builder |
dbClusterVersion(String dbClusterVersion)
Property dbClusterVersion: Version, value: 19.15.2.2.
|
DBCluster.Builder |
dbNodeCount(com.aliyun.ros.cdk.core.IResolvable dbNodeCount)
Property dbNodeCount: The number of nodes.
|
DBCluster.Builder |
dbNodeCount(Number dbNodeCount)
Property dbNodeCount: The number of nodes.
|
DBCluster.Builder |
dbNodeStorage(com.aliyun.ros.cdk.core.IResolvable dbNodeStorage)
Property dbNodeStorage: The storage capacity of a single node.
|
DBCluster.Builder |
dbNodeStorage(Number dbNodeStorage)
Property dbNodeStorage: The storage capacity of a single node.
|
DBCluster.Builder |
dbNodeStorageType(com.aliyun.ros.cdk.core.IResolvable dbNodeStorageType)
Property dbNodeStorageType: Instance node storage type.
|
DBCluster.Builder |
dbNodeStorageType(String dbNodeStorageType)
Property dbNodeStorageType: Instance node storage type.
|
DBCluster.Builder |
encryptionKey(com.aliyun.ros.cdk.core.IResolvable encryptionKey)
Property encryptionKey: KMS key ID.
|
DBCluster.Builder |
encryptionKey(String encryptionKey)
Property encryptionKey: KMS key ID.
|
DBCluster.Builder |
encryptionType(com.aliyun.ros.cdk.core.IResolvable encryptionType)
Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.
|
DBCluster.Builder |
encryptionType(String encryptionType)
Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk.
|
DBCluster.Builder |
paymentType(com.aliyun.ros.cdk.core.IResolvable paymentType)
Property paymentType: The billing method of the cluster.
|
DBCluster.Builder |
paymentType(String paymentType)
Property paymentType: The billing method of the cluster.
|
DBCluster.Builder |
period(com.aliyun.ros.cdk.core.IResolvable period)
Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory.
|
DBCluster.Builder |
period(String period)
Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory.
|
DBCluster.Builder |
usedTime(com.aliyun.ros.cdk.core.IResolvable usedTime)
Property usedTime: The subscription duration.
|
DBCluster.Builder |
usedTime(Number usedTime)
Property usedTime: The subscription duration.
|
DBCluster.Builder |
vpcId(com.aliyun.ros.cdk.core.IResolvable vpcId)
Property vpcId: VpcId.
|
DBCluster.Builder |
vpcId(String vpcId)
Property vpcId: VpcId.
|
DBCluster.Builder |
vSwitchId(com.aliyun.ros.cdk.core.IResolvable vSwitchId)
Property vSwitchId: VSwitchId.
|
DBCluster.Builder |
vSwitchId(String vSwitchId)
Property vSwitchId: VSwitchId.
|
DBCluster.Builder |
zoneId(com.aliyun.ros.cdk.core.IResolvable zoneId)
Property zoneId: ZoneId.
|
DBCluster.Builder |
zoneId(String zoneId)
Property zoneId: ZoneId.
|
public static DBCluster.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id, Boolean enableResourcePropertyConstraint)
scope - This parameter is required.id - This parameter is required.enableResourcePropertyConstraint - DBCluster.Builder.public static DBCluster.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.DBCluster.Builder.public DBCluster.Builder category(String category)
Valid values: Basic: Single-replica Edition HighAvailability: Double-replica Edition
category - Property category: The edition of the cluster. This parameter is required.thispublic DBCluster.Builder category(com.aliyun.ros.cdk.core.IResolvable category)
Valid values: Basic: Single-replica Edition HighAvailability: Double-replica Edition
category - Property category: The edition of the cluster. This parameter is required.thispublic DBCluster.Builder dbClusterNetworkType(String dbClusterNetworkType)
dbClusterNetworkType - Property dbClusterNetworkType: Network type of the cluster instance, value: VPC. This parameter is required.thispublic DBCluster.Builder dbClusterNetworkType(com.aliyun.ros.cdk.core.IResolvable dbClusterNetworkType)
dbClusterNetworkType - Property dbClusterNetworkType: Network type of the cluster instance, value: VPC. This parameter is required.thispublic DBCluster.Builder dbClusterType(String dbClusterType)
If the cluster is of the Single-replica Edition, the following values are valid: S4: 4 cores, 16 GB. S8: 8 cores, 32 GB. S16: 16 cores, 64 GB. S32: 32 cores, 128 GB. S64: 64 cores, 256 GB. S104: 104 cores, 384 GB. If the cluster is of the Double-replica Edition, the following values are valid: C4: 4 cores, 16 GB. C8: 8 cores, 32 GB. C16: 16 cores, 64 GB. C32: 32 cores, 128 GB. C64: 64 cores, 256 GB. C104: 104 cores, 384 GB.
dbClusterType - Property dbClusterType: The specification of the cluster. This parameter is required.thispublic DBCluster.Builder dbClusterType(com.aliyun.ros.cdk.core.IResolvable dbClusterType)
If the cluster is of the Single-replica Edition, the following values are valid: S4: 4 cores, 16 GB. S8: 8 cores, 32 GB. S16: 16 cores, 64 GB. S32: 32 cores, 128 GB. S64: 64 cores, 256 GB. S104: 104 cores, 384 GB. If the cluster is of the Double-replica Edition, the following values are valid: C4: 4 cores, 16 GB. C8: 8 cores, 32 GB. C16: 16 cores, 64 GB. C32: 32 cores, 128 GB. C64: 64 cores, 256 GB. C104: 104 cores, 384 GB.
dbClusterType - Property dbClusterType: The specification of the cluster. This parameter is required.thispublic DBCluster.Builder dbClusterVersion(String dbClusterVersion)
dbClusterVersion - Property dbClusterVersion: Version, value: 19.15.2.2. This parameter is required.thispublic DBCluster.Builder dbClusterVersion(com.aliyun.ros.cdk.core.IResolvable dbClusterVersion)
dbClusterVersion - Property dbClusterVersion: Version, value: 19.15.2.2. This parameter is required.thispublic DBCluster.Builder dbNodeCount(Number dbNodeCount)
If the cluster is of the Single-replica Edition, the value ranges from 1 to 48. If the cluster is of the Double-replica Edition, the value ranges from 1 to 24.
dbNodeCount - Property dbNodeCount: The number of nodes. This parameter is required.thispublic DBCluster.Builder dbNodeCount(com.aliyun.ros.cdk.core.IResolvable dbNodeCount)
If the cluster is of the Single-replica Edition, the value ranges from 1 to 48. If the cluster is of the Double-replica Edition, the value ranges from 1 to 24.
dbNodeCount - Property dbNodeCount: The number of nodes. This parameter is required.thispublic DBCluster.Builder dbNodeStorage(Number dbNodeStorage)
Valid values: 100 to 32000. Unit: GB. Note self value is a multiple of 100.
dbNodeStorage - Property dbNodeStorage: The storage capacity of a single node. This parameter is required.thispublic DBCluster.Builder dbNodeStorage(com.aliyun.ros.cdk.core.IResolvable dbNodeStorage)
Valid values: 100 to 32000. Unit: GB. Note self value is a multiple of 100.
dbNodeStorage - Property dbNodeStorage: The storage capacity of a single node. This parameter is required.thispublic DBCluster.Builder dbNodeStorageType(String dbNodeStorageType)
Valid values: cloud_essd, cloud_efficiency.
dbNodeStorageType - Property dbNodeStorageType: Instance node storage type. This parameter is required.thispublic DBCluster.Builder dbNodeStorageType(com.aliyun.ros.cdk.core.IResolvable dbNodeStorageType)
Valid values: cloud_essd, cloud_efficiency.
dbNodeStorageType - Property dbNodeStorageType: Instance node storage type. This parameter is required.thispublic DBCluster.Builder paymentType(String paymentType)
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
paymentType - Property paymentType: The billing method of the cluster. This parameter is required.thispublic DBCluster.Builder paymentType(com.aliyun.ros.cdk.core.IResolvable paymentType)
Valid values: Postpaid: pay-as-you-go Prepaid: subscription
paymentType - Property paymentType: The billing method of the cluster. This parameter is required.thispublic DBCluster.Builder dbClusterDescription(String dbClusterDescription)
dbClusterDescription - Property dbClusterDescription: The description of the cluster. This parameter is required.thispublic DBCluster.Builder dbClusterDescription(com.aliyun.ros.cdk.core.IResolvable dbClusterDescription)
dbClusterDescription - Property dbClusterDescription: The description of the cluster. This parameter is required.thispublic DBCluster.Builder encryptionKey(String encryptionKey)
encryptionKey - Property encryptionKey: KMS key ID. This parameter is required.thispublic DBCluster.Builder encryptionKey(com.aliyun.ros.cdk.core.IResolvable encryptionKey)
encryptionKey - Property encryptionKey: KMS key ID. This parameter is required.thispublic DBCluster.Builder encryptionType(String encryptionType)
encryptionType - Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk. This parameter is required.thispublic DBCluster.Builder encryptionType(com.aliyun.ros.cdk.core.IResolvable encryptionType)
encryptionType - Property encryptionType: Kms key type, only cloud disk encryption is supported and the value is CloudDisk. This parameter is required.thispublic DBCluster.Builder period(String period)
period - Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month. This parameter is required.thispublic DBCluster.Builder period(com.aliyun.ros.cdk.core.IResolvable period)
period - Property period: Prepaid time period.If the payment type is Prepaid, this parameter is mandatory. Specify the prepaid cluster as a yearly or monthly type. Valid values: Year, Month. This parameter is required.thispublic DBCluster.Builder usedTime(Number usedTime)
Valid values: When Period is Month, it could be from 1 to 9, 12, 24, 36. When Period is Year, it could be from 1 to 3.
usedTime - Property usedTime: The subscription duration. This parameter is required.thispublic DBCluster.Builder usedTime(com.aliyun.ros.cdk.core.IResolvable usedTime)
Valid values: When Period is Month, it could be from 1 to 9, 12, 24, 36. When Period is Year, it could be from 1 to 3.
usedTime - Property usedTime: The subscription duration. This parameter is required.thispublic DBCluster.Builder vpcId(String vpcId)
vpcId - Property vpcId: VpcId. This parameter is required.thispublic DBCluster.Builder vpcId(com.aliyun.ros.cdk.core.IResolvable vpcId)
vpcId - Property vpcId: VpcId. This parameter is required.thispublic DBCluster.Builder vSwitchId(String vSwitchId)
vSwitchId - Property vSwitchId: VSwitchId. This parameter is required.thispublic DBCluster.Builder vSwitchId(com.aliyun.ros.cdk.core.IResolvable vSwitchId)
vSwitchId - Property vSwitchId: VSwitchId. This parameter is required.thispublic DBCluster.Builder zoneId(String zoneId)
zoneId - Property zoneId: ZoneId. This parameter is required.thispublic DBCluster.Builder zoneId(com.aliyun.ros.cdk.core.IResolvable zoneId)
zoneId - Property zoneId: ZoneId. This parameter is required.thisCopyright © 2023. All rights reserved.