@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class ManagedInstanceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An OCI Compute instance that is being managed
Note: Objects should always be created or deserialized using the ManagedInstanceSummary.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 ManagedInstanceSummary.Builder
, which maintain a
set of all explicitly set fields called ManagedInstanceSummary.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 |
ManagedInstanceSummary.Builder |
static class |
ManagedInstanceSummary.Status
status of the managed instance.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ManagedInstanceSummary(String displayName,
String id,
String lastCheckin,
String lastBoot,
Integer updatesAvailable,
String compartmentId,
String description,
ManagedInstanceSummary.Status status,
OsFamilies osFamily,
Boolean isRebootRequired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagedInstanceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
OCID for the Compartment
|
String |
getDescription()
Information specified by the user about the managed instance
|
String |
getDisplayName()
user settable name
|
String |
getId()
OCID for the managed instance
|
Boolean |
getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
|
String |
getLastBoot()
Time at which the instance last booted
|
String |
getLastCheckin()
Time at which the instance last checked in
|
OsFamilies |
getOsFamily()
The Operating System type of the managed instance.
|
ManagedInstanceSummary.Status |
getStatus()
status of the managed instance.
|
Integer |
getUpdatesAvailable()
Number of updates available to be installed
|
int |
hashCode() |
ManagedInstanceSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","id","lastCheckin","lastBoot","updatesAvailable","compartmentId","description","status","osFamily","isRebootRequired"}) public ManagedInstanceSummary(String displayName, String id, String lastCheckin, String lastBoot, Integer updatesAvailable, String compartmentId, String description, ManagedInstanceSummary.Status status, OsFamilies osFamily, Boolean isRebootRequired)
public static ManagedInstanceSummary.Builder builder()
Create a new builder.
public ManagedInstanceSummary.Builder toBuilder()
public String getDisplayName()
user settable name
public String getId()
OCID for the managed instance
public String getLastCheckin()
Time at which the instance last checked in
public String getLastBoot()
Time at which the instance last booted
public Integer getUpdatesAvailable()
Number of updates available to be installed
public String getCompartmentId()
OCID for the Compartment
public String getDescription()
Information specified by the user about the managed instance
public ManagedInstanceSummary.Status getStatus()
status of the managed instance.
public OsFamilies getOsFamily()
The Operating System type of the managed instance.
public Boolean getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
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.