Class ManagedInstance
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.osmanagementhub.model.ManagedInstance
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ManagedInstance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn object that defines the instance being managed by the service.
 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 theManagedInstance.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 SummaryNested Classes Modifier and Type Class Description static classManagedInstance.Builder
 - 
Constructor SummaryConstructors Constructor Description ManagedInstance(String id, String displayName, String description, String tenancyId, String compartmentId, ManagedInstanceLocation location, Date timeLastCheckin, Date timeLastBoot, String osName, String osVersion, String osKernelVersion, String kspliceEffectiveKernelVersion, ArchType architecture, OsFamily osFamily, ManagedInstanceStatus status, String profile, String profileVersion, Boolean isManagementStation, String primaryManagementStationId, String secondaryManagementStationId, List<SoftwareSourceDetails> softwareSources, Id managedInstanceGroup, Id lifecycleEnvironment, Id lifecycleStage, Boolean isRebootRequired, Integer installedPackages, Integer installedWindowsUpdates, Integer updatesAvailable, Integer securityUpdatesAvailable, Integer bugUpdatesAvailable, Integer enhancementUpdatesAvailable, Integer otherUpdatesAvailable, Integer scheduledJobCount, Integer workRequestCount, Date timeCreated, Date timeUpdated, String notificationTopicId, AutonomousSettings autonomousSettings, Boolean isManagedByAutonomousLinux, String agentVersion)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedInstance.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAgentVersion()The version of osmh-agent running on the managed instanceArchTypegetArchitecture()The CPU architecture type of the managed instance.AutonomousSettingsgetAutonomousSettings()IntegergetBugUpdatesAvailable()Number of bug fix type updates available for installation.StringgetCompartmentId()The OCID of the compartment that contains the managed instance.StringgetDescription()User-specified description for the managed instance.StringgetDisplayName()User-friendly name for the managed instance.IntegergetEnhancementUpdatesAvailable()Number of enhancement type updates available for installation.StringgetId()The OCID of the managed instance.IntegergetInstalledPackages()Number of packages installed on the instance.IntegergetInstalledWindowsUpdates()Number of Windows updates installed on the instance.BooleangetIsManagedByAutonomousLinux()Indicates whether the Autonomous Linux service manages the instance.BooleangetIsManagementStation()Indicates whether this managed instance is acting as an on-premises management station.BooleangetIsRebootRequired()Indicates whether a reboot is required to complete installation of updates.StringgetKspliceEffectiveKernelVersion()The ksplice effective kernel version.IdgetLifecycleEnvironment()IdgetLifecycleStage()ManagedInstanceLocationgetLocation()The location of the managed instance.IdgetManagedInstanceGroup()StringgetNotificationTopicId()The OCID for the Oracle Notifications service (ONS) topic.OsFamilygetOsFamily()The operating system type of the managed instance.StringgetOsKernelVersion()Operating system kernel version.StringgetOsName()Operating system name.StringgetOsVersion()Operating system version.IntegergetOtherUpdatesAvailable()Number of non-classified (other) updates available for installation.StringgetPrimaryManagementStationId()The OCID of the management station for the instance to use as primary management station.StringgetProfile()The profile that was used to register this instance with the service.StringgetProfileVersion()The version of the profile that was used to register this instance with the service.IntegergetScheduledJobCount()Number of scheduled jobs associated with this instance.StringgetSecondaryManagementStationId()The OCID of the management station for the instance to use as secondary management station.IntegergetSecurityUpdatesAvailable()Number of security type updates available for installation.List<SoftwareSourceDetails>getSoftwareSources()The list of software sources currently attached to the managed instance.ManagedInstanceStatusgetStatus()Current status of the managed instance.StringgetTenancyId()The OCID of the tenancy that the managed instance resides in.DategetTimeCreated()The date and time the instance was created (in RFC 3339 format).DategetTimeLastBoot()Time that the instance last booted (in RFC 3339 format).DategetTimeLastCheckin()Time that the instance last checked in with the service (in RFC 3339 format).DategetTimeUpdated()The date and time the instance was last updated (in RFC 3339 format).IntegergetUpdatesAvailable()Number of updates available for installation.IntegergetWorkRequestCount()Number of work requests associated with this instance.inthashCode()ManagedInstance.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ManagedInstance@Deprecated @ConstructorProperties({"id","displayName","description","tenancyId","compartmentId","location","timeLastCheckin","timeLastBoot","osName","osVersion","osKernelVersion","kspliceEffectiveKernelVersion","architecture","osFamily","status","profile","profileVersion","isManagementStation","primaryManagementStationId","secondaryManagementStationId","softwareSources","managedInstanceGroup","lifecycleEnvironment","lifecycleStage","isRebootRequired","installedPackages","installedWindowsUpdates","updatesAvailable","securityUpdatesAvailable","bugUpdatesAvailable","enhancementUpdatesAvailable","otherUpdatesAvailable","scheduledJobCount","workRequestCount","timeCreated","timeUpdated","notificationTopicId","autonomousSettings","isManagedByAutonomousLinux","agentVersion"}) public ManagedInstance(String id, String displayName, String description, String tenancyId, String compartmentId, ManagedInstanceLocation location, Date timeLastCheckin, Date timeLastBoot, String osName, String osVersion, String osKernelVersion, String kspliceEffectiveKernelVersion, ArchType architecture, OsFamily osFamily, ManagedInstanceStatus status, String profile, String profileVersion, Boolean isManagementStation, String primaryManagementStationId, String secondaryManagementStationId, List<SoftwareSourceDetails> softwareSources, Id managedInstanceGroup, Id lifecycleEnvironment, Id lifecycleStage, Boolean isRebootRequired, Integer installedPackages, Integer installedWindowsUpdates, Integer updatesAvailable, Integer securityUpdatesAvailable, Integer bugUpdatesAvailable, Integer enhancementUpdatesAvailable, Integer otherUpdatesAvailable, Integer scheduledJobCount, Integer workRequestCount, Date timeCreated, Date timeUpdated, String notificationTopicId, AutonomousSettings autonomousSettings, Boolean isManagedByAutonomousLinux, String agentVersion) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ManagedInstance.Builder builder() Create a new builder.
 - 
toBuilderpublic ManagedInstance.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() User-friendly name for the managed instance.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() User-specified description for the managed instance.- Returns:
- the value
 
 - 
getTenancyIdpublic String getTenancyId() The OCID of the tenancy that the managed instance resides in.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment that contains the managed instance.- Returns:
- the value
 
 - 
getLocationpublic ManagedInstanceLocation getLocation() The location of the managed instance.- Returns:
- the value
 
 - 
getTimeLastCheckinpublic Date getTimeLastCheckin() Time that the instance last checked in with the service (in RFC 3339 format).- Returns:
- the value
 
 - 
getTimeLastBootpublic Date getTimeLastBoot() Time that the instance last booted (in RFC 3339 format).- Returns:
- the value
 
 - 
getOsNamepublic String getOsName() Operating system name.- Returns:
- the value
 
 - 
getOsVersionpublic String getOsVersion() Operating system version.- Returns:
- the value
 
 - 
getOsKernelVersionpublic String getOsKernelVersion() Operating system kernel version.- Returns:
- the value
 
 - 
getKspliceEffectiveKernelVersionpublic String getKspliceEffectiveKernelVersion() The ksplice effective kernel version.- Returns:
- the value
 
 - 
getArchitecturepublic ArchType getArchitecture() The CPU architecture type of the managed instance.- Returns:
- the value
 
 - 
getOsFamilypublic OsFamily getOsFamily() The operating system type of the managed instance.- Returns:
- the value
 
 - 
getStatuspublic ManagedInstanceStatus getStatus() Current status of the managed instance.- Returns:
- the value
 
 - 
getProfilepublic String getProfile() The profile that was used to register this instance with the service.- Returns:
- the value
 
 - 
getProfileVersionpublic String getProfileVersion() The version of the profile that was used to register this instance with the service.- Returns:
- the value
 
 - 
getIsManagementStationpublic Boolean getIsManagementStation() Indicates whether this managed instance is acting as an on-premises management station.- Returns:
- the value
 
 - 
getPrimaryManagementStationIdpublic String getPrimaryManagementStationId() The OCID of the management station for the instance to use as primary management station.- Returns:
- the value
 
 - 
getSecondaryManagementStationIdpublic String getSecondaryManagementStationId() The OCID of the management station for the instance to use as secondary management station.- Returns:
- the value
 
 - 
getSoftwareSourcespublic List<SoftwareSourceDetails> getSoftwareSources() The list of software sources currently attached to the managed instance.- Returns:
- the value
 
 - 
getManagedInstanceGrouppublic Id getManagedInstanceGroup() 
 - 
getLifecycleEnvironmentpublic Id getLifecycleEnvironment() 
 - 
getLifecycleStagepublic Id getLifecycleStage() 
 - 
getIsRebootRequiredpublic Boolean getIsRebootRequired() Indicates whether a reboot is required to complete installation of updates.- Returns:
- the value
 
 - 
getInstalledPackagespublic Integer getInstalledPackages() Number of packages installed on the instance.- Returns:
- the value
 
 - 
getInstalledWindowsUpdatespublic Integer getInstalledWindowsUpdates() Number of Windows updates installed on the instance.- Returns:
- the value
 
 - 
getUpdatesAvailablepublic Integer getUpdatesAvailable() Number of updates available for installation.- Returns:
- the value
 
 - 
getSecurityUpdatesAvailablepublic Integer getSecurityUpdatesAvailable() Number of security type updates available for installation.- Returns:
- the value
 
 - 
getBugUpdatesAvailablepublic Integer getBugUpdatesAvailable() Number of bug fix type updates available for installation.- Returns:
- the value
 
 - 
getEnhancementUpdatesAvailablepublic Integer getEnhancementUpdatesAvailable() Number of enhancement type updates available for installation.- Returns:
- the value
 
 - 
getOtherUpdatesAvailablepublic Integer getOtherUpdatesAvailable() Number of non-classified (other) updates available for installation.- Returns:
- the value
 
 - 
getScheduledJobCountpublic Integer getScheduledJobCount() Number of scheduled jobs associated with this instance.- Returns:
- the value
 
 - 
getWorkRequestCountpublic Integer getWorkRequestCount() Number of work requests associated with this instance.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the instance was created (in RFC 3339 format).- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time the instance was last updated (in RFC 3339 format).- Returns:
- the value
 
 - 
getNotificationTopicIdpublic String getNotificationTopicId() The OCID for the Oracle Notifications service (ONS) topic.ONS is the channel used to send notifications to the customer. - Returns:
- the value
 
 - 
getAutonomousSettingspublic AutonomousSettings getAutonomousSettings() 
 - 
getIsManagedByAutonomousLinuxpublic Boolean getIsManagedByAutonomousLinux() Indicates whether the Autonomous Linux service manages the instance.- Returns:
- the value
 
 - 
getAgentVersionpublic String getAgentVersion() The version of osmh-agent running on the managed instance- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-