Class OtsBackupPlanArgs.Builder

  • Enclosing class:
    OtsBackupPlanArgs

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

      • Builder

        public Builder()
    • Method Detail

      • backupType

        public OtsBackupPlanArgs.Builder backupType​(com.pulumi.core.Output<java.lang.String> backupType)
        Parameters:
        backupType - Backup type. Valid values: `COMPLETE`.
        Returns:
        builder
      • backupType

        public OtsBackupPlanArgs.Builder backupType​(java.lang.String backupType)
        Parameters:
        backupType - Backup type. Valid values: `COMPLETE`.
        Returns:
        builder
      • crossAccountRoleName

        public OtsBackupPlanArgs.Builder crossAccountRoleName​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> crossAccountRoleName)
        Parameters:
        crossAccountRoleName - The role name created in the original account RAM backup by the cross account managed by the current account.
        Returns:
        builder
      • crossAccountRoleName

        public OtsBackupPlanArgs.Builder crossAccountRoleName​(java.lang.String crossAccountRoleName)
        Parameters:
        crossAccountRoleName - The role name created in the original account RAM backup by the cross account managed by the current account.
        Returns:
        builder
      • crossAccountType

        public OtsBackupPlanArgs.Builder crossAccountType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> crossAccountType)
        Parameters:
        crossAccountType - The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
        Returns:
        builder
      • crossAccountType

        public OtsBackupPlanArgs.Builder crossAccountType​(java.lang.String crossAccountType)
        Parameters:
        crossAccountType - The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
        Returns:
        builder
      • crossAccountUserId

        public OtsBackupPlanArgs.Builder crossAccountUserId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> crossAccountUserId)
        Parameters:
        crossAccountUserId - The original account ID of the cross account backup managed by the current account.
        Returns:
        builder
      • crossAccountUserId

        public OtsBackupPlanArgs.Builder crossAccountUserId​(java.lang.Integer crossAccountUserId)
        Parameters:
        crossAccountUserId - The original account ID of the cross account backup managed by the current account.
        Returns:
        builder
      • disabled

        public OtsBackupPlanArgs.Builder disabled​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - Whether to disable the backup task. Valid values: `true`, `false`. Default values: `false`.
        Returns:
        builder
      • disabled

        public OtsBackupPlanArgs.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - Whether to disable the backup task. Valid values: `true`, `false`. Default values: `false`.
        Returns:
        builder
      • instanceName

        public OtsBackupPlanArgs.Builder instanceName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> instanceName)
        Parameters:
        instanceName - The name of the Table store instance. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • instanceName

        public OtsBackupPlanArgs.Builder instanceName​(java.lang.String instanceName)
        Parameters:
        instanceName - The name of the Table store instance. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • otsBackupPlanName

        public OtsBackupPlanArgs.Builder otsBackupPlanName​(com.pulumi.core.Output<java.lang.String> otsBackupPlanName)
        Parameters:
        otsBackupPlanName - The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
        Returns:
        builder
      • otsBackupPlanName

        public OtsBackupPlanArgs.Builder otsBackupPlanName​(java.lang.String otsBackupPlanName)
        Parameters:
        otsBackupPlanName - The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
        Returns:
        builder
      • otsDetails

        public OtsBackupPlanArgs.Builder otsDetails​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<OtsBackupPlanOtsDetailArgs>> otsDetails)
        Parameters:
        otsDetails - The details about the Table store instance. See the following `Block ots_detail`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • otsDetails

        public OtsBackupPlanArgs.Builder otsDetails​(java.util.List<OtsBackupPlanOtsDetailArgs> otsDetails)
        Parameters:
        otsDetails - The details about the Table store instance. See the following `Block ots_detail`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • otsDetails

        public OtsBackupPlanArgs.Builder otsDetails​(OtsBackupPlanOtsDetailArgs... otsDetails)
        Parameters:
        otsDetails - The details about the Table store instance. See the following `Block ots_detail`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • retention

        public OtsBackupPlanArgs.Builder retention​(com.pulumi.core.Output<java.lang.String> retention)
        Parameters:
        retention - Backup retention days, the minimum is 1.
        Returns:
        builder
      • retention

        public OtsBackupPlanArgs.Builder retention​(java.lang.String retention)
        Parameters:
        retention - Backup retention days, the minimum is 1.
        Returns:
        builder
      • rules

        public OtsBackupPlanArgs.Builder rules​(@Nullable
                                               com.pulumi.core.Output<java.util.List<OtsBackupPlanRuleArgs>> rules)
        Parameters:
        rules - The backup plan rule. See the following `Block rules`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • rules

        public OtsBackupPlanArgs.Builder rules​(java.util.List<OtsBackupPlanRuleArgs> rules)
        Parameters:
        rules - The backup plan rule. See the following `Block rules`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • rules

        public OtsBackupPlanArgs.Builder rules​(OtsBackupPlanRuleArgs... rules)
        Parameters:
        rules - The backup plan rule. See the following `Block rules`. **Note:** Required while source_type equals `OTS_TABLE`.
        Returns:
        builder
      • schedule

        @Deprecated
        public OtsBackupPlanArgs.Builder schedule​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> schedule)
        Deprecated.
        Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead.
        Parameters:
        schedule - Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
        Returns:
        builder
      • schedule

        @Deprecated
        public OtsBackupPlanArgs.Builder schedule​(java.lang.String schedule)
        Deprecated.
        Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead.
        Parameters:
        schedule - Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
        Returns:
        builder
      • vaultId

        public OtsBackupPlanArgs.Builder vaultId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> vaultId)
        Parameters:
        vaultId - The ID of backup vault.
        Returns:
        builder
      • vaultId

        public OtsBackupPlanArgs.Builder vaultId​(java.lang.String vaultId)
        Parameters:
        vaultId - The ID of backup vault.
        Returns:
        builder