Class 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 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).

    • 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

      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel