EnterpriseDBClusterBackupPolicyProps
Properties for defining a EnterpriseDBClusterBackupPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-clickhouse-enterprisedbclusterbackuppolicy
Initializer
import com.aliyun.ros.cdk.clickhouse.EnterpriseDBClusterBackupPolicyProps;
EnterpriseDBClusterBackupPolicyProps.builder()
.backupRetentionPeriod(java.lang.Number)
.backupRetentionPeriod(IResolvable)
.dbInstanceId(java.lang.String)
.dbInstanceId(IResolvable)
.preferredBackupPeriod(java.lang.String)
.preferredBackupPeriod(IResolvable)
.preferredBackupTime(java.lang.String)
.preferredBackupTime(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
backupRetentionPeriod | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property backupRetentionPeriod: The number of days for which you can retain the backup data. |
dbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceId: The cluster ID. |
preferredBackupPeriod | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property preferredBackupPeriod: The backup cycle, which indicates the day of the week when the system regularly backs up data. |
preferredBackupTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property preferredBackupTime: The backup time window within which the backup task is performed. |
backupRetentionPeriodRequired
public java.lang.Object getBackupRetentionPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property backupRetentionPeriod: The number of days for which you can retain the backup data.
dbInstanceIdRequired
public java.lang.Object getDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceId: The cluster ID.
preferredBackupPeriodRequired
public java.lang.Object getPreferredBackupPeriod();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property preferredBackupPeriod: The backup cycle, which indicates the day of the week when the system regularly backs up data.
Separate multiple dates with commas (,).
preferredBackupTimeRequired
public java.lang.Object getPreferredBackupTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property preferredBackupTime: The backup time window within which the backup task is performed.
The time is displayed in UTC. For example, 12:00Z-13:00Z indicates that the backup time window ranges from 12:00 (UTC) to 13:00 (UTC).