Package com.oracle.bmc.database.model
Class PdbConversionHistoryEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.PdbConversionHistoryEntry.Builder
-
- Enclosing class:
- PdbConversionHistoryEntry
public static class PdbConversionHistoryEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdbConversionHistoryEntry.Builderaction(PdbConversionHistoryEntry.Action action)The operations used to convert a non-container database to a pluggable database.PdbConversionHistoryEntry.BuilderadditionalCdbParams(String additionalCdbParams)Additional container database parameter.PdbConversionHistoryEntrybuild()PdbConversionHistoryEntry.BuildercdbName(String cdbName)The database name.PdbConversionHistoryEntry.Buildercopy(PdbConversionHistoryEntry model)PdbConversionHistoryEntry.Builderid(String id)The OCID of the database conversion history.PdbConversionHistoryEntry.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state for the conversion operation.PdbConversionHistoryEntry.BuilderlifecycleState(PdbConversionHistoryEntry.LifecycleState lifecycleState)Status of an operation performed during the conversion of a non-container database to a pluggable database.PdbConversionHistoryEntry.BuildersourceDatabaseId(String sourceDatabaseId)The OCID of the database.PdbConversionHistoryEntry.Buildertarget(PdbConversionHistoryEntry.Target target)The target container database of the pluggable database created by the database conversion operation.PdbConversionHistoryEntry.BuildertargetDatabaseId(String targetDatabaseId)The OCID of the database.PdbConversionHistoryEntry.BuildertimeEnded(Date timeEnded)The date and time when the database conversion operation ended.PdbConversionHistoryEntry.BuildertimeStarted(Date timeStarted)The date and time when the database conversion operation started.
-
-
-
Method Detail
-
id
public PdbConversionHistoryEntry.Builder id(String id)
The OCID of the database conversion history.- Parameters:
id- the value to set- Returns:
- this builder
-
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
-
sourceDatabaseId
public PdbConversionHistoryEntry.Builder sourceDatabaseId(String sourceDatabaseId)
The OCID of the database.- Parameters:
sourceDatabaseId- the value to set- Returns:
- this builder
-
targetDatabaseId
public PdbConversionHistoryEntry.Builder targetDatabaseId(String targetDatabaseId)
The OCID of the database.- Parameters:
targetDatabaseId- 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
-
lifecycleState
public PdbConversionHistoryEntry.Builder lifecycleState(PdbConversionHistoryEntry.LifecycleState lifecycleState)
Status of an operation performed during the conversion of a non-container database to a pluggable database.- Parameters:
lifecycleState- 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
-
build
public PdbConversionHistoryEntry build()
-
copy
public PdbConversionHistoryEntry.Builder copy(PdbConversionHistoryEntry model)
-
-