@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class AvailablePackageSummary extends PackageSummary
Provides summary information about a software package available for installation on a managed
instance.
Note: Objects should always be created or deserialized using the AvailablePackageSummary.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 AvailablePackageSummary.Builder
, which maintain a
set of all explicitly set fields called AvailablePackageSummary.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 |
AvailablePackageSummary.Builder |
PackageSummary.PackageClassification
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AvailablePackageSummary(String displayName,
String name,
String type,
String version,
ArchType architecture,
List<SoftwareSourceDetails> softwareSources)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AvailablePackageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
int |
hashCode() |
AvailablePackageSummary.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 AvailablePackageSummary(String displayName, String name, String type, String version, ArchType architecture, List<SoftwareSourceDetails> softwareSources)
public static AvailablePackageSummary.Builder builder()
Create a new builder.
public AvailablePackageSummary.Builder toBuilder()
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.