@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class UpdatablePackageSummary extends PackageSummary
Provides summary information for a software package available for installation on a managed
instance.
Note: Objects should always be created or deserialized using the UpdatablePackageSummary.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 UpdatablePackageSummary.Builder
, which maintain a
set of all explicitly set fields called UpdatablePackageSummary.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 |
UpdatablePackageSummary.Builder |
PackageSummary.PackageClassification
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdatablePackageSummary(String displayName,
String name,
String type,
String version,
ArchType architecture,
List<SoftwareSourceDetails> softwareSources,
String installedVersion,
ClassificationTypes updateType,
List<String> errata,
List<String> relatedCves)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdatablePackageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getErrata()
List of errata applicable to this update.
|
String |
getInstalledVersion()
The version of the package that is currently installed on the instance.
|
List<String> |
getRelatedCves()
List of CVEs applicable to this erratum.
|
ClassificationTypes |
getUpdateType()
The type of update.
|
int |
hashCode() |
UpdatablePackageSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getArchitecture, getDisplayName, getName, getSoftwareSources, getType, getVersion
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public UpdatablePackageSummary(String displayName, String name, String type, String version, ArchType architecture, List<SoftwareSourceDetails> softwareSources, String installedVersion, ClassificationTypes updateType, List<String> errata, List<String> relatedCves)
public static UpdatablePackageSummary.Builder builder()
Create a new builder.
public UpdatablePackageSummary.Builder toBuilder()
public String getInstalledVersion()
The version of the package that is currently installed on the instance.
public ClassificationTypes getUpdateType()
The type of update.
public List<String> getErrata()
List of errata applicable to this update.
public List<String> getRelatedCves()
List of CVEs applicable to this erratum.
public String toString()
toString
in class PackageSummary
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class PackageSummary
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class PackageSummary
public int hashCode()
hashCode
in class PackageSummary
Copyright © 2016–2024. All rights reserved.