@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class InstalledPackageSummary extends PackageSummary
Provides summary information for a software package installed on a managed instance.
Note: Objects should always be created or deserialized using the InstalledPackageSummary.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 InstalledPackageSummary.Builder
, which maintain a
set of all explicitly set fields called InstalledPackageSummary.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 |
InstalledPackageSummary.Builder |
PackageSummary.PackageClassification
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstalledPackageSummary(String displayName,
String name,
String type,
String version,
ArchType architecture,
List<SoftwareSourceDetails> softwareSources,
Date timeInstalled,
Date timeIssued)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstalledPackageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Date |
getTimeInstalled()
The date and time the package was installed, as described in RFC
3339, section 14.29.
|
Date |
getTimeIssued()
The date and time the package was issued by a providing erratum (in RFC
3339 format).
|
int |
hashCode() |
InstalledPackageSummary.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 InstalledPackageSummary(String displayName, String name, String type, String version, ArchType architecture, List<SoftwareSourceDetails> softwareSources, Date timeInstalled, Date timeIssued)
public static InstalledPackageSummary.Builder builder()
Create a new builder.
public InstalledPackageSummary.Builder toBuilder()
public Date getTimeInstalled()
The date and time the package was installed, as described in RFC 3339, section 14.29.
public Date getTimeIssued()
The date and time the package was issued by a providing erratum (in RFC 3339 format).
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.