@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class AvailableSoftwareSourceSummary extends ExplicitlySetBmcModel
A software source which can be added to a managed instance. Once a software source is added, packages from that software source can be installed on that managed instance.
Note: Objects should always be created or deserialized using the AvailableSoftwareSourceSummary.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 AvailableSoftwareSourceSummary.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AvailableSoftwareSourceSummary.Builder |
Constructor and Description |
---|
AvailableSoftwareSourceSummary(String id,
String compartmentId,
String displayName,
String parentId,
String parentName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AvailableSoftwareSourceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
OCID for the Compartment
|
String |
getDisplayName()
User friendly name for the software source
|
String |
getId()
unique identifier that is immutable on creation
|
String |
getParentId()
OCID for the parent software source, if there is one
|
String |
getParentName()
Display name of the parent software source, if there is one
|
int |
hashCode() |
AvailableSoftwareSourceSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","displayName","parentId","parentName"}) public AvailableSoftwareSourceSummary(String id, String compartmentId, String displayName, String parentId, String parentName)
public static AvailableSoftwareSourceSummary.Builder builder()
Create a new builder.
public AvailableSoftwareSourceSummary.Builder toBuilder()
public String getId()
unique identifier that is immutable on creation
public String getCompartmentId()
OCID for the Compartment
public String getDisplayName()
User friendly name for the software source
public String getParentId()
OCID for the parent software source, if there is one
public String getParentName()
Display name of the parent software source, if there is one
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.