Class RestoreDatabaseDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • databaseSCN

        public RestoreDatabaseDetails.Builder databaseSCN​(String databaseSCN)
        Restores using the backup with the System Change Number (SCN) specified.

        This field is applicable for both use cases - Restoring Container Database or Restoring specific Pluggable Database.

        Parameters:
        databaseSCN - the value to set
        Returns:
        this builder
      • timestamp

        public RestoreDatabaseDetails.Builder timestamp​(Date timestamp)
        Restores to the timestamp specified.
        Parameters:
        timestamp - the value to set
        Returns:
        this builder
      • latest

        public RestoreDatabaseDetails.Builder latest​(Boolean latest)
        Restores to the last known good state with the least possible data loss.
        Parameters:
        latest - the value to set
        Returns:
        this builder
      • pluggableDatabaseName

        public RestoreDatabaseDetails.Builder pluggableDatabaseName​(String pluggableDatabaseName)
        Restores only the Pluggable Database (if specified) using the inputs provided in request.
        Parameters:
        pluggableDatabaseName - the value to set
        Returns:
        this builder