Class DbSystemSourceFromPitr.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dbSystemId

        public DbSystemSourceFromPitr.Builder dbSystemId​(String dbSystemId)
        The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System.

        Use this together with recovery point to perform a point in time recovery operation.

        Parameters:
        dbSystemId - the value to set
        Returns:
        this builder
      • recoveryPoint

        public DbSystemSourceFromPitr.Builder recoveryPoint​(Date recoveryPoint)
        The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System.

        In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System.

        Parameters:
        recoveryPoint - the value to set
        Returns:
        this builder