Package com.oracle.bmc.database.model
Class VersionSchemeFromVersionSeriesDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.VersionSchemeDetails
-
- com.oracle.bmc.database.model.VersionSchemeFromVersionSeriesDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VersionSchemeFromVersionSeriesDetails extends VersionSchemeDetailsThe update should be applied on the database for the selected version series and preference.
Note: Objects should always be created or deserialized using theVersionSchemeFromVersionSeriesDetails.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 theVersionSchemeFromVersionSeriesDetails.Builder, which maintain a set of all explicitly set fields calledVersionSchemeFromVersionSeriesDetails.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 classVersionSchemeFromVersionSeriesDetails.Builderstatic classVersionSchemeFromVersionSeriesDetails.VersionPreferenceThe update should be applied on the database for the selected version preference.-
Nested classes/interfaces inherited from class com.oracle.bmc.database.model.VersionSchemeDetails
VersionSchemeDetails.Source
-
-
Constructor Summary
Constructors Constructor Description VersionSchemeFromVersionSeriesDetails(String majorVersion, VersionSchemeFromVersionSeriesDetails.VersionPreference versionPreference)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VersionSchemeFromVersionSeriesDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetMajorVersion()The update should be applied on the database for the selected major version series.VersionSchemeFromVersionSeriesDetails.VersionPreferencegetVersionPreference()The update should be applied on the database for the selected version preference.inthashCode()VersionSchemeFromVersionSeriesDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
VersionSchemeFromVersionSeriesDetails
@Deprecated public VersionSchemeFromVersionSeriesDetails(String majorVersion, VersionSchemeFromVersionSeriesDetails.VersionPreference versionPreference)
Deprecated.
-
-
Method Detail
-
builder
public static VersionSchemeFromVersionSeriesDetails.Builder builder()
Create a new builder.
-
toBuilder
public VersionSchemeFromVersionSeriesDetails.Builder toBuilder()
-
getMajorVersion
public String getMajorVersion()
The update should be applied on the database for the selected major version series.The value can be provided as 23.X.X.X then 23 major version series will be considered.
The list of supported versions can be obtained using the API for the provided shape /20160918/dbVersions?compartmentId=
&dbSystemShape=ExaDbXS - Returns:
- the value
-
getVersionPreference
public VersionSchemeFromVersionSeriesDetails.VersionPreference getVersionPreference()
The update should be applied on the database for the selected version preference.*_N represents the LATEST version
For Ex: The current latest version is 23.7.0.0.0, If versionPreference selects option as ORACLE_DB_N then oracle applies the db update with LATEST version (i.e. 23.7.0.0.0) If versionPreference selects option as ORACLE_DB_N_1 then oracle applies the db update with LATEST-1 version (i.e. 23.6.0.0.0) If versionPreference selects option as ORACLE_DB_N_2 then oracle applies the db update with LATEST-2 version (i.e. 23.5.0.0.0)
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classVersionSchemeDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classVersionSchemeDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classVersionSchemeDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classVersionSchemeDetails
-
-