Package com.oracle.bmc.database.model
Class InfrastructureTargetVersion
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.InfrastructureTargetVersion
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InfrastructureTargetVersion extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Infrastructure target version details.
Note: Objects should always be created or deserialized using theInfrastructureTargetVersion.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 theInfrastructureTargetVersion.Builder
, which maintain a set of all explicitly set fields calledInfrastructureTargetVersion.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
InfrastructureTargetVersion.Builder
static class
InfrastructureTargetVersion.TargetResourceType
The resource type of the target Exadata infrastructure resource that will receive the system software update.
-
Constructor Summary
Constructors Constructor Description InfrastructureTargetVersion(List<String> targetDbVersionHistoryEntry, List<String> targetStorageVersionHistoryEntry, InfrastructureTargetVersion.TargetResourceType targetResourceType, String targetResourceId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfrastructureTargetVersion.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getTargetDbVersionHistoryEntry()
The history entry of the target system software version for the database server patching operation.String
getTargetResourceId()
The OCID of the target Exadata Infrastructure resource that will receive the maintenance update.InfrastructureTargetVersion.TargetResourceType
getTargetResourceType()
The resource type of the target Exadata infrastructure resource that will receive the system software update.List<String>
getTargetStorageVersionHistoryEntry()
The history entry of the target storage cell system software version for the storage cell patching operation.int
hashCode()
InfrastructureTargetVersion.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
InfrastructureTargetVersion
@Deprecated @ConstructorProperties({"targetDbVersionHistoryEntry","targetStorageVersionHistoryEntry","targetResourceType","targetResourceId"}) public InfrastructureTargetVersion(List<String> targetDbVersionHistoryEntry, List<String> targetStorageVersionHistoryEntry, InfrastructureTargetVersion.TargetResourceType targetResourceType, String targetResourceId)
Deprecated.
-
-
Method Detail
-
builder
public static InfrastructureTargetVersion.Builder builder()
Create a new builder.
-
toBuilder
public InfrastructureTargetVersion.Builder toBuilder()
-
getTargetDbVersionHistoryEntry
public List<String> getTargetDbVersionHistoryEntry()
The history entry of the target system software version for the database server patching operation.- Returns:
- the value
-
getTargetStorageVersionHistoryEntry
public List<String> getTargetStorageVersionHistoryEntry()
The history entry of the target storage cell system software version for the storage cell patching operation.- Returns:
- the value
-
getTargetResourceType
public InfrastructureTargetVersion.TargetResourceType getTargetResourceType()
The resource type of the target Exadata infrastructure resource that will receive the system software update.- Returns:
- the value
-
getTargetResourceId
public String getTargetResourceId()
The OCID of the target Exadata Infrastructure resource that will receive the maintenance update.- Returns:
- the value
-
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
-
-