Class PdbConversionHistoryEntry.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • action

        public PdbConversionHistoryEntry.Builder action​(PdbConversionHistoryEntry.Action action)
        The operations used to convert a non-container database to a pluggable database.
        • Use PRECHECK to run a pre-check operation on non-container database prior to converting it into a pluggable database. - Use CONVERT to convert a non-container database into a pluggable database. - Use SYNC if the non-container database was manually converted into a pluggable database using the dbcli command-line utility. Databases may need to be converted manually if the CONVERT action fails when converting a non-container database using the API. - Use SYNC_ROLLBACK if the conversion of a non-container database into a pluggable database was manually rolled back using the dbcli command line utility. Conversions may need to be manually rolled back if the CONVERT action fails when converting a non-container database using the API.
        Parameters:
        action - the value to set
        Returns:
        this builder
      • target

        public PdbConversionHistoryEntry.Builder target​(PdbConversionHistoryEntry.Target target)
        The target container database of the pluggable database created by the database conversion operation.

        Currently, the database conversion operation only supports creating the pluggable database in a new container database. - Use NEW_DATABASE to specify that the pluggable database be created within a new container database in the same database home.

        Parameters:
        target - the value to set
        Returns:
        this builder
      • cdbName

        public PdbConversionHistoryEntry.Builder cdbName​(String cdbName)
        The database name.

        The name must begin with an alphabetic character and can contain a maximum of 8 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.

        Parameters:
        cdbName - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public PdbConversionHistoryEntry.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state for the conversion operation.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeStarted

        public PdbConversionHistoryEntry.Builder timeStarted​(Date timeStarted)
        The date and time when the database conversion operation started.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public PdbConversionHistoryEntry.Builder timeEnded​(Date timeEnded)
        The date and time when the database conversion operation ended.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • additionalCdbParams

        public PdbConversionHistoryEntry.Builder additionalCdbParams​(String additionalCdbParams)
        Additional container database parameter.
        Parameters:
        additionalCdbParams - the value to set
        Returns:
        this builder