Package com.oracle.bmc.database.model
Class ConvertToPdbDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.ConvertToPdbDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ConvertToPdbDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details for converting a non-container database to pluggable database.
Note: Objects should always be created or deserialized using theConvertToPdbDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theConvertToPdbDetails.Builder
, which maintain a set of all explicitly set fields calledConvertToPdbDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConvertToPdbDetails.Action
The operations used to convert a non-container database to a pluggable database.static class
ConvertToPdbDetails.Builder
-
Constructor Summary
Constructors Constructor Description ConvertToPdbDetails(ConvertToPdbDetails.Action action, ConvertToPdbTargetBase convertToPdbTargetDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConvertToPdbDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
ConvertToPdbDetails.Action
getAction()
The operations used to convert a non-container database to a pluggable database.ConvertToPdbTargetBase
getConvertToPdbTargetDetails()
int
hashCode()
ConvertToPdbDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ConvertToPdbDetails
@Deprecated @ConstructorProperties({"action","convertToPdbTargetDetails"}) public ConvertToPdbDetails(ConvertToPdbDetails.Action action, ConvertToPdbTargetBase convertToPdbTargetDetails)
Deprecated.
-
-
Method Detail
-
builder
public static ConvertToPdbDetails.Builder builder()
Create a new builder.
-
toBuilder
public ConvertToPdbDetails.Builder toBuilder()
-
getAction
public ConvertToPdbDetails.Action getAction()
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.
- Returns:
- the value
-
getConvertToPdbTargetDetails
public ConvertToPdbTargetBase getConvertToPdbTargetDetails()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-