Package com.oracle.bmc.psql.model
Class UpgradeDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.psql.model.UpgradeDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public final class UpgradeDbSystemDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelUpgrade details for the database system.
Note: Objects should always be created or deserialized using theUpgradeDbSystemDetails.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 theUpgradeDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledUpgradeDbSystemDetails.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 classUpgradeDbSystemDetails.Builderstatic classUpgradeDbSystemDetails.Options
-
Constructor Summary
Constructors Constructor Description UpgradeDbSystemDetails(String dbVersion, String configId, List<UpgradeDbSystemDetails.Options> options)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpgradeDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetConfigId()The OCID of the configuration for target database version to be associated with database system.StringgetDbVersion()The target major version of the database system software.List<UpgradeDbSystemDetails.Options>getOptions()Optional post-upgrade operations to run.inthashCode()UpgradeDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpgradeDbSystemDetails
@Deprecated @ConstructorProperties({"dbVersion","configId","options"}) public UpgradeDbSystemDetails(String dbVersion, String configId, List<UpgradeDbSystemDetails.Options> options)
Deprecated.
-
-
Method Detail
-
builder
public static UpgradeDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpgradeDbSystemDetails.Builder toBuilder()
-
getDbVersion
public String getDbVersion()
The target major version of the database system software.Example: “17”
- Returns:
- the value
-
getConfigId
public String getConfigId()
The OCID of the configuration for target database version to be associated with database system.Optional, if database system is currently running with default configuration object. Mandatory, if database system is currently running with custom configuration object.
- Returns:
- the value
-
getOptions
public List<UpgradeDbSystemDetails.Options> getOptions()
Optional post-upgrade operations to run.Verification and vacuum are skipped unless their corresponding options are included. If omitted or empty, both operations are skipped.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-