Class ManagedInstance
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagement.model.ManagedInstance
-
@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 theManagedInstance.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 calledManagedInstance.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedInstance.Builder
static class
ManagedInstance.Status
status of the managed instance.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 installedList<SoftwareSourceId>
getChildSoftwareSources()
list of child Software Sources attached to the Managed InstanceString
getCompartmentId()
OCID for the CompartmentString
getDescription()
Information specified by the user about the managed instanceString
getDisplayName()
Managed Instance identifierInteger
getEnhancementUpdatesAvailable()
Number of enhancement type updates available to be installedString
getId()
OCID for the managed instanceBoolean
getIsDataCollectionAuthorized()
True if user allow data collection for this instanceBoolean
getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.String
getKspliceEffectiveKernelVersion()
The ksplice effective kernel versionString
getLastBoot()
Time at which the instance last bootedString
getLastCheckin()
Time at which the instance last checked inList<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 usersOsFamilies
getOsFamily()
The Operating System type of the managed instance.String
getOsKernelVersion()
Operating System Kernel VersionString
getOsName()
Operating System NameString
getOsVersion()
Operating System VersionInteger
getOtherUpdatesAvailable()
Number of non-classified updates available to be installedSoftwareSourceId
getParentSoftwareSource()
the parent (base) Software Source attached to the Managed InstanceInteger
getScheduledJobCount()
Number of scheduled jobs associated with this instanceInteger
getSecurityUpdatesAvailable()
Number of security type updates available to be installedManagedInstance.Status
getStatus()
status of the managed instance.Integer
getUpdatesAvailable()
Number of updates available to be installedInteger
getWorkRequestCount()
Number of work requests associated with this instanceint
hashCode()
ManagedInstance.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedInstance
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedInstance.Builder builder()
Create a new builder.
-
toBuilder
public ManagedInstance.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
Managed Instance identifier- Returns:
- the value
-
getId
public String getId()
OCID for the managed instance- Returns:
- the value
-
getDescription
public String getDescription()
Information specified by the user about the managed instance- Returns:
- the value
-
getLastCheckin
public String getLastCheckin()
Time at which the instance last checked in- Returns:
- the value
-
getLastBoot
public String getLastBoot()
Time at which the instance last booted- Returns:
- the value
-
getUpdatesAvailable
public Integer getUpdatesAvailable()
Number of updates available to be installed- Returns:
- the value
-
getOsName
public String getOsName()
Operating System Name- Returns:
- the value
-
getOsVersion
public String getOsVersion()
Operating System Version- Returns:
- the value
-
getOsKernelVersion
public String getOsKernelVersion()
Operating System Kernel Version- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
OCID for the Compartment- Returns:
- the value
-
getStatus
public ManagedInstance.Status getStatus()
status of the managed instance.- Returns:
- the value
-
getParentSoftwareSource
public SoftwareSourceId getParentSoftwareSource()
the parent (base) Software Source attached to the Managed Instance- Returns:
- the value
-
getChildSoftwareSources
public List<SoftwareSourceId> getChildSoftwareSources()
list of child Software Sources attached to the Managed Instance- Returns:
- the value
-
getManagedInstanceGroups
public List<Id> getManagedInstanceGroups()
The ids of the managed instance groups of which this instance is a member.- Returns:
- the value
-
getOsFamily
public OsFamilies getOsFamily()
The Operating System type of the managed instance.- Returns:
- the value
-
getIsRebootRequired
public Boolean getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.- Returns:
- the value
-
getNotificationTopicId
public String getNotificationTopicId()
OCID of the ONS topic used to send notification to users- Returns:
- the value
-
getKspliceEffectiveKernelVersion
public String getKspliceEffectiveKernelVersion()
The ksplice effective kernel version- Returns:
- the value
-
getIsDataCollectionAuthorized
public Boolean getIsDataCollectionAuthorized()
True if user allow data collection for this instance- Returns:
- the value
-
getAutonomous
public AutonomousSettings getAutonomous()
if present, indicates the Managed Instance is an autonomous instance.Holds all the Autonomous specific information
- Returns:
- the value
-
getSecurityUpdatesAvailable
public Integer getSecurityUpdatesAvailable()
Number of security type updates available to be installed- Returns:
- the value
-
getBugUpdatesAvailable
public Integer getBugUpdatesAvailable()
Number of bug fix type updates available to be installed- Returns:
- the value
-
getEnhancementUpdatesAvailable
public Integer getEnhancementUpdatesAvailable()
Number of enhancement type updates available to be installed- Returns:
- the value
-
getOtherUpdatesAvailable
public Integer getOtherUpdatesAvailable()
Number of non-classified updates available to be installed- Returns:
- the value
-
getScheduledJobCount
public Integer getScheduledJobCount()
Number of scheduled jobs associated with this instance- Returns:
- the value
-
getWorkRequestCount
public Integer getWorkRequestCount()
Number of work requests associated with this instance- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-