@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ManagedInstance extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An object that defines the instance being managed by the service.
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 |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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,
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagedInstance.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ArchType |
getArchitecture()
The CPU architecture type of the managed instance.
|
AutonomousSettings |
getAutonomousSettings() |
Integer |
getBugUpdatesAvailable()
Number of bug fix type updates available for installation.
|
String |
getCompartmentId()
The OCID of
the compartment that contains the managed instance.
|
String |
getDescription()
User-specified description for the managed instance.
|
String |
getDisplayName()
User-friendly name for the managed instance.
|
Integer |
getEnhancementUpdatesAvailable()
Number of enhancement type updates available for installation.
|
String |
getId()
The OCID of
the managed instance.
|
Integer |
getInstalledPackages()
Number of packages installed on the instance.
|
Integer |
getInstalledWindowsUpdates()
Number of Windows updates installed on the instance.
|
Boolean |
getIsManagedByAutonomousLinux()
Indicates whether the Autonomous Linux service manages the instance.
|
Boolean |
getIsManagementStation()
Indicates whether this managed instance is acting as an on-premises management station.
|
Boolean |
getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
|
String |
getKspliceEffectiveKernelVersion()
The ksplice effective kernel version.
|
Id |
getLifecycleEnvironment() |
Id |
getLifecycleStage() |
ManagedInstanceLocation |
getLocation()
The location of the managed instance.
|
Id |
getManagedInstanceGroup() |
String |
getNotificationTopicId()
The OCID for
the Oracle Notifications service (ONS) topic.
|
OsFamily |
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 (other) updates available for installation.
|
String |
getPrimaryManagementStationId()
The OCID of
the management station for the instance to use as primary management station.
|
String |
getProfile()
The profile that was used to register this instance with the service.
|
Integer |
getScheduledJobCount()
Number of scheduled jobs associated with this instance.
|
String |
getSecondaryManagementStationId()
The OCID of
the management station for the instance to use as secondary managment station.
|
Integer |
getSecurityUpdatesAvailable()
Number of security type updates available for installation.
|
List<SoftwareSourceDetails> |
getSoftwareSources()
The list of software sources currently attached to the managed instance.
|
ManagedInstanceStatus |
getStatus()
Current status of the managed instance.
|
String |
getTenancyId()
The OCID of
the tenancy that the managed instance resides in.
|
Date |
getTimeCreated()
The date and time the instance was created (in RFC 3339
format).
|
Date |
getTimeLastBoot()
Time that the instance last booted (in RFC 3339
format).
|
Date |
getTimeLastCheckin()
Time that the instance last checked in with the service (in RFC
3339 format).
|
Date |
getTimeUpdated()
The date and time the instance was last updated (in RFC
3339 format).
|
Integer |
getUpdatesAvailable()
Number of updates available for installation.
|
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={"id","displayName","description","tenancyId","compartmentId","location","timeLastCheckin","timeLastBoot","osName","osVersion","osKernelVersion","kspliceEffectiveKernelVersion","architecture","osFamily","status","profile","isManagementStation","primaryManagementStationId","secondaryManagementStationId","softwareSources","managedInstanceGroup","lifecycleEnvironment","lifecycleStage","isRebootRequired","installedPackages","installedWindowsUpdates","updatesAvailable","securityUpdatesAvailable","bugUpdatesAvailable","enhancementUpdatesAvailable","otherUpdatesAvailable","scheduledJobCount","workRequestCount","timeCreated","timeUpdated","notificationTopicId","autonomousSettings","isManagedByAutonomousLinux"}) 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, 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)
public static ManagedInstance.Builder builder()
Create a new builder.
public ManagedInstance.Builder toBuilder()
public String getDisplayName()
User-friendly name for the managed instance.
public String getDescription()
User-specified description for the managed instance.
public String getTenancyId()
The OCID of the tenancy that the managed instance resides in.
public String getCompartmentId()
The OCID of the compartment that contains the managed instance.
public ManagedInstanceLocation getLocation()
The location of the managed instance.
public Date getTimeLastCheckin()
Time that the instance last checked in with the service (in RFC 3339 format).
public Date getTimeLastBoot()
Time that the instance last booted (in RFC 3339 format).
public String getOsName()
Operating system name.
public String getOsVersion()
Operating system version.
public String getOsKernelVersion()
Operating system kernel version.
public String getKspliceEffectiveKernelVersion()
The ksplice effective kernel version.
public ArchType getArchitecture()
The CPU architecture type of the managed instance.
public OsFamily getOsFamily()
The operating system type of the managed instance.
public ManagedInstanceStatus getStatus()
Current status of the managed instance.
public String getProfile()
The profile that was used to register this instance with the service.
public Boolean getIsManagementStation()
Indicates whether this managed instance is acting as an on-premises management station.
public String getPrimaryManagementStationId()
The OCID of the management station for the instance to use as primary management station.
public String getSecondaryManagementStationId()
The OCID of the management station for the instance to use as secondary managment station.
public List<SoftwareSourceDetails> getSoftwareSources()
The list of software sources currently attached to the managed instance.
public Id getManagedInstanceGroup()
public Id getLifecycleEnvironment()
public Id getLifecycleStage()
public Boolean getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
public Integer getInstalledPackages()
Number of packages installed on the instance.
public Integer getInstalledWindowsUpdates()
Number of Windows updates installed on the instance.
public Integer getUpdatesAvailable()
Number of updates available for installation.
public Integer getSecurityUpdatesAvailable()
Number of security type updates available for installation.
public Integer getBugUpdatesAvailable()
Number of bug fix type updates available for installation.
public Integer getEnhancementUpdatesAvailable()
Number of enhancement type updates available for installation.
public Integer getOtherUpdatesAvailable()
Number of non-classified (other) updates available for installation.
public Integer getScheduledJobCount()
Number of scheduled jobs associated with this instance.
public Integer getWorkRequestCount()
Number of work requests associated with this instance.
public Date getTimeCreated()
The date and time the instance was created (in RFC 3339 format).
public Date getTimeUpdated()
The date and time the instance was last updated (in RFC 3339 format).
public String getNotificationTopicId()
The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.
public AutonomousSettings getAutonomousSettings()
public Boolean getIsManagedByAutonomousLinux()
Indicates whether the Autonomous Linux service manages the 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.