@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class ManagedInstance extends Object
Detail information for an OCI Compute instance that is being managed
Note: Objects should always be created or deserialized using the ManagedInstance.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 ManagedInstance.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ManagedInstance.Builder |
static class |
ManagedInstance.Status
status of the managed instance.
|
Constructor and Description |
---|
ManagedInstance(String displayName,
String id,
String description,
String lastCheckin,
String lastBoot,
Integer updatesAvailable,
String osName,
String osVersion,
String osKernelVersion,
String compartmentId,
ManagedInstance.Status status,
SoftwareSourceId parentSoftwareSource,
List<SoftwareSourceId> childSoftwareSources,
List<Id> managedInstanceGroups,
OsFamilies osFamily,
Boolean isRebootRequired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagedInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<SoftwareSourceId> |
getChildSoftwareSources()
list of child Software Sources attached to the Managed Instance
|
String |
getCompartmentId()
OCID for the Compartment
|
String |
getDescription()
Information specified by the user about the managed instance
|
String |
getDisplayName()
Managed Instance identifier
|
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
|
List<Id> |
getManagedInstanceGroups()
The ids of the managed instance groups of which this instance is a member.
|
OsFamilies |
getOsFamily()
The Operating System type of the managed instance.
|
String |
getOsKernelVersion()
Operating System Kernel Version
|
String |
getOsName()
Operating System Name
|
String |
getOsVersion()
Operating System Version
|
SoftwareSourceId |
getParentSoftwareSource()
the parent (base) Software Source attached to the Managed Instance
|
ManagedInstance.Status |
getStatus()
status of the managed instance.
|
Integer |
getUpdatesAvailable()
Number of updates available to be installed
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"displayName","id","description","lastCheckin","lastBoot","updatesAvailable","osName","osVersion","osKernelVersion","compartmentId","status","parentSoftwareSource","childSoftwareSources","managedInstanceGroups","osFamily","isRebootRequired"}) @Deprecated public ManagedInstance(String displayName, String id, String description, String lastCheckin, String lastBoot, Integer updatesAvailable, String osName, String osVersion, String osKernelVersion, String compartmentId, ManagedInstance.Status status, SoftwareSourceId parentSoftwareSource, List<SoftwareSourceId> childSoftwareSources, List<Id> managedInstanceGroups, OsFamilies osFamily, Boolean isRebootRequired)
public static ManagedInstance.Builder builder()
Create a new builder.
public String getDisplayName()
Managed Instance identifier
public String getId()
OCID for the managed instance
public String getDescription()
Information specified by the user about 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 getOsName()
Operating System Name
public String getOsVersion()
Operating System Version
public String getOsKernelVersion()
Operating System Kernel Version
public String getCompartmentId()
OCID for the Compartment
public ManagedInstance.Status getStatus()
status of the managed instance.
public SoftwareSourceId getParentSoftwareSource()
the parent (base) Software Source attached to the Managed Instance
public List<SoftwareSourceId> getChildSoftwareSources()
list of child Software Sources attached to the Managed Instance
public List<Id> getManagedInstanceGroups()
The ids of the managed instance groups of which this instance is a member.
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.
Copyright © 2016–2020. All rights reserved.