Class BackupPolicyState.Builder

  • Enclosing class:
    BackupPolicyState

    public static final class BackupPolicyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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