@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class ManagedInstance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 ManagedInstance.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 |
ManagedInstance.Builder |
static class |
ManagedInstance.Status
status of the managed instance.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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,
String notificationTopicId,
String kspliceEffectiveKernelVersion,
Boolean isDataCollectionAuthorized,
AutonomousSettings autonomous,
Integer securityUpdatesAvailable,
Integer bugUpdatesAvailable,
Integer enhancementUpdatesAvailable,
Integer otherUpdatesAvailable,
Integer scheduledJobCount,
Integer workRequestCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagedInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AutonomousSettings |
getAutonomous()
if present, indicates the Managed Instance is an autonomous instance.
|
Integer |
getBugUpdatesAvailable()
Number of bug fix type updates available to be installed
|
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
|
Integer |
getEnhancementUpdatesAvailable()
Number of enhancement type updates available to be installed
|
String |
getId()
OCID for the managed instance
|
Boolean |
getIsDataCollectionAuthorized()
True if user allow data collection for this instance
|
Boolean |
getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
|
String |
getKspliceEffectiveKernelVersion()
The ksplice effective kernel version
|
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.
|
String |
getNotificationTopicId()
OCID of the ONS topic used to send notification to users
|
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
|
Integer |
getOtherUpdatesAvailable()
Number of non-classified updates available to be installed
|
SoftwareSourceId |
getParentSoftwareSource()
the parent (base) Software Source attached to the Managed Instance
|
Integer |
getScheduledJobCount()
Number of scheduled jobs associated with this instance
|
Integer |
getSecurityUpdatesAvailable()
Number of security type updates available to be installed
|
ManagedInstance.Status |
getStatus()
status of the managed instance.
|
Integer |
getUpdatesAvailable()
Number of updates available to be installed
|
Integer |
getWorkRequestCount()
Number of work requests associated with this instance
|
int |
hashCode() |
ManagedInstance.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","id","description","lastCheckin","lastBoot","updatesAvailable","osName","osVersion","osKernelVersion","compartmentId","status","parentSoftwareSource","childSoftwareSources","managedInstanceGroups","osFamily","isRebootRequired","notificationTopicId","kspliceEffectiveKernelVersion","isDataCollectionAuthorized","autonomous","securityUpdatesAvailable","bugUpdatesAvailable","enhancementUpdatesAvailable","otherUpdatesAvailable","scheduledJobCount","workRequestCount"}) 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, String notificationTopicId, String kspliceEffectiveKernelVersion, Boolean isDataCollectionAuthorized, AutonomousSettings autonomous, Integer securityUpdatesAvailable, Integer bugUpdatesAvailable, Integer enhancementUpdatesAvailable, Integer otherUpdatesAvailable, Integer scheduledJobCount, Integer workRequestCount)
public static ManagedInstance.Builder builder()
Create a new builder.
public ManagedInstance.Builder toBuilder()
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.
public String getNotificationTopicId()
OCID of the ONS topic used to send notification to users
public String getKspliceEffectiveKernelVersion()
The ksplice effective kernel version
public Boolean getIsDataCollectionAuthorized()
True if user allow data collection for this instance
public AutonomousSettings getAutonomous()
if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information
public Integer getSecurityUpdatesAvailable()
Number of security type updates available to be installed
public Integer getBugUpdatesAvailable()
Number of bug fix type updates available to be installed
public Integer getEnhancementUpdatesAvailable()
Number of enhancement type updates available to be installed
public Integer getOtherUpdatesAvailable()
Number of non-classified updates available to be installed
public Integer getScheduledJobCount()
Number of scheduled jobs associated with this instance
public Integer getWorkRequestCount()
Number of work requests associated with this instance
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.