Package com.pulumi.alicloud.adb.inputs
Class BackupPolicyState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.adb.inputs.BackupPolicyState.Builder
-
- Enclosing class:
- BackupPolicyState
public static final class BackupPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BackupPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupPolicyState.Builder
backupRetentionPeriod(com.pulumi.core.Output<java.lang.String> backupRetentionPeriod)
BackupPolicyState.Builder
backupRetentionPeriod(java.lang.String backupRetentionPeriod)
BackupPolicyState
build()
BackupPolicyState.Builder
dbClusterId(com.pulumi.core.Output<java.lang.String> dbClusterId)
BackupPolicyState.Builder
dbClusterId(java.lang.String dbClusterId)
BackupPolicyState.Builder
preferredBackupPeriods(com.pulumi.core.Output<java.util.List<java.lang.String>> preferredBackupPeriods)
BackupPolicyState.Builder
preferredBackupPeriods(java.lang.String... preferredBackupPeriods)
BackupPolicyState.Builder
preferredBackupPeriods(java.util.List<java.lang.String> preferredBackupPeriods)
BackupPolicyState.Builder
preferredBackupTime(com.pulumi.core.Output<java.lang.String> preferredBackupTime)
BackupPolicyState.Builder
preferredBackupTime(java.lang.String preferredBackupTime)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BackupPolicyState defaults)
-
-
Method Detail
-
backupRetentionPeriod
public BackupPolicyState.Builder backupRetentionPeriod(@Nullable com.pulumi.core.Output<java.lang.String> backupRetentionPeriod)
- Parameters:
backupRetentionPeriod
- Cluster backup retention days, Fixed for 7 days, not modified.- Returns:
- builder
-
backupRetentionPeriod
public BackupPolicyState.Builder backupRetentionPeriod(java.lang.String backupRetentionPeriod)
- Parameters:
backupRetentionPeriod
- Cluster backup retention days, Fixed for 7 days, not modified.- Returns:
- builder
-
dbClusterId
public BackupPolicyState.Builder dbClusterId(@Nullable com.pulumi.core.Output<java.lang.String> dbClusterId)
- Parameters:
dbClusterId
- The Id of cluster that can run database.- Returns:
- builder
-
dbClusterId
public BackupPolicyState.Builder dbClusterId(java.lang.String dbClusterId)
- Parameters:
dbClusterId
- The Id of cluster that can run database.- Returns:
- builder
-
preferredBackupPeriods
public BackupPolicyState.Builder preferredBackupPeriods(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> preferredBackupPeriods)
- Parameters:
preferredBackupPeriods
- ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].- Returns:
- builder
-
preferredBackupPeriods
public BackupPolicyState.Builder preferredBackupPeriods(java.util.List<java.lang.String> preferredBackupPeriods)
- Parameters:
preferredBackupPeriods
- ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].- Returns:
- builder
-
preferredBackupPeriods
public BackupPolicyState.Builder preferredBackupPeriods(java.lang.String... preferredBackupPeriods)
- Parameters:
preferredBackupPeriods
- ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].- Returns:
- builder
-
preferredBackupTime
public BackupPolicyState.Builder preferredBackupTime(@Nullable com.pulumi.core.Output<java.lang.String> preferredBackupTime)
- Parameters:
preferredBackupTime
- ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.- Returns:
- builder
-
preferredBackupTime
public BackupPolicyState.Builder preferredBackupTime(java.lang.String preferredBackupTime)
- Parameters:
preferredBackupTime
- ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.- Returns:
- builder
-
build
public BackupPolicyState build()
-
-