@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class OsPatchDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of an os patch.
Note: Objects should always be created or deserialized using the OsPatchDetails.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 the OsPatchDetails.Builder
, which maintain a
set of all explicitly set fields called OsPatchDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
OsPatchDetails.Builder |
static class |
OsPatchDetails.PatchType
Type of a specific os patch.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OsPatchDetails(String osPatchVersion,
String minBdsVersion,
Map<String,String> minCompatibleOdhVersionMap,
List<OsPatchPackageSummary> targetPackages,
Date releaseDate,
OsPatchDetails.PatchType patchType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OsPatchDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getMinBdsVersion()
Minimum BDS version required to install current OS patch.
|
Map<String,String> |
getMinCompatibleOdhVersionMap()
Map of major ODH version to minimum ODH version required to install current OS patch.
|
String |
getOsPatchVersion()
Version of the os patch.
|
OsPatchDetails.PatchType |
getPatchType()
Type of a specific os patch.
|
Date |
getReleaseDate()
Released date of the OS patch.
|
List<OsPatchPackageSummary> |
getTargetPackages()
List of summaries of individual target packages.
|
int |
hashCode() |
OsPatchDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"osPatchVersion","minBdsVersion","minCompatibleOdhVersionMap","targetPackages","releaseDate","patchType"}) public OsPatchDetails(String osPatchVersion, String minBdsVersion, Map<String,String> minCompatibleOdhVersionMap, List<OsPatchPackageSummary> targetPackages, Date releaseDate, OsPatchDetails.PatchType patchType)
public static OsPatchDetails.Builder builder()
Create a new builder.
public OsPatchDetails.Builder toBuilder()
public String getOsPatchVersion()
Version of the os patch.
public String getMinBdsVersion()
Minimum BDS version required to install current OS patch.
public Map<String,String> getMinCompatibleOdhVersionMap()
Map of major ODH version to minimum ODH version required to install current OS patch. e.g. {ODH0.9: 0.9.1}
public List<OsPatchPackageSummary> getTargetPackages()
List of summaries of individual target packages.
public Date getReleaseDate()
Released date of the OS patch.
public OsPatchDetails.PatchType getPatchType()
Type of a specific os patch. REGULAR means standard released os patches. CUSTOM means os patches with some customizations. EMERGENT means os patches with some emergency fixes that should be prioritized.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.