public static class PdbConversionHistoryEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PdbConversionHistoryEntry.Builder |
action(PdbConversionHistoryEntry.Action action)
The operations used to convert a non-container database to a pluggable database.
|
PdbConversionHistoryEntry.Builder |
additionalCdbParams(String additionalCdbParams)
Additional container database parameter.
|
PdbConversionHistoryEntry |
build() |
PdbConversionHistoryEntry.Builder |
cdbName(String cdbName)
The database name.
|
PdbConversionHistoryEntry.Builder |
copy(PdbConversionHistoryEntry model) |
PdbConversionHistoryEntry.Builder |
id(String id)
The OCID of the
database conversion history.
|
PdbConversionHistoryEntry.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state for the conversion operation.
|
PdbConversionHistoryEntry.Builder |
lifecycleState(PdbConversionHistoryEntry.LifecycleState lifecycleState)
Status of an operation performed during the conversion of a non-container database to a
pluggable database.
|
PdbConversionHistoryEntry.Builder |
sourceDatabaseId(String sourceDatabaseId)
The OCID of the
database.
|
PdbConversionHistoryEntry.Builder |
target(PdbConversionHistoryEntry.Target target)
The target container database of the pluggable database created by the database
conversion operation.
|
PdbConversionHistoryEntry.Builder |
targetDatabaseId(String targetDatabaseId)
The OCID of the
database.
|
PdbConversionHistoryEntry.Builder |
timeEnded(Date timeEnded)
The date and time when the database conversion operation ended.
|
PdbConversionHistoryEntry.Builder |
timeStarted(Date timeStarted)
The date and time when the database conversion operation started.
|
public PdbConversionHistoryEntry.Builder id(String id)
The OCID of the database conversion history.
id
- the value to setpublic 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.
action
- the value to setpublic 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.
target
- the value to setpublic PdbConversionHistoryEntry.Builder sourceDatabaseId(String sourceDatabaseId)
The OCID of the database.
sourceDatabaseId
- the value to setpublic PdbConversionHistoryEntry.Builder targetDatabaseId(String targetDatabaseId)
The OCID of the database.
targetDatabaseId
- the value to setpublic 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.
cdbName
- the value to setpublic PdbConversionHistoryEntry.Builder lifecycleState(PdbConversionHistoryEntry.LifecycleState lifecycleState)
Status of an operation performed during the conversion of a non-container database to a pluggable database.
lifecycleState
- the value to setpublic PdbConversionHistoryEntry.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state for the conversion operation.
lifecycleDetails
- the value to setpublic PdbConversionHistoryEntry.Builder timeStarted(Date timeStarted)
The date and time when the database conversion operation started.
timeStarted
- the value to setpublic PdbConversionHistoryEntry.Builder timeEnded(Date timeEnded)
The date and time when the database conversion operation ended.
timeEnded
- the value to setpublic PdbConversionHistoryEntry.Builder additionalCdbParams(String additionalCdbParams)
Additional container database parameter.
additionalCdbParams
- the value to setpublic PdbConversionHistoryEntry build()
public PdbConversionHistoryEntry.Builder copy(PdbConversionHistoryEntry model)
Copyright © 2016–2024. All rights reserved.