Class ManagedInstanceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.ManagedInstanceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ManagedInstanceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provides summary information for a managed instance.
Note: Objects should always be created or deserialized using theManagedInstanceSummary.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 theManagedInstanceSummary.Builder
, which maintain a set of all explicitly set fields calledManagedInstanceSummary.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
ManagedInstanceSummary.Builder
-
Constructor Summary
Constructors Constructor Description ManagedInstanceSummary(String id, String displayName, String description, String tenancyId, String compartmentId, ManagedInstanceLocation location, ArchType architecture, OsFamily osFamily, ManagedInstanceStatus status, Id managedInstanceGroup, Id lifecycleEnvironment, Id lifecycleStage, Boolean isRebootRequired, Integer updatesAvailable, Boolean isManagementStation, String notificationTopicId, AutonomousSettings autonomousSettings, Boolean isManagedByAutonomousLinux, String agentVersion)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedInstanceSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAgentVersion()
The version of osmh-agent running on the managed instanceArchType
getArchitecture()
The CPU architecture type of the managed instance.AutonomousSettings
getAutonomousSettings()
String
getCompartmentId()
The OCID of the compartment that contains the managed instance.String
getDescription()
User-specified description of the managed instance.String
getDisplayName()
User-friendly name for the managed instance.String
getId()
The OCID of the managed instance.Boolean
getIsManagedByAutonomousLinux()
Indicates whether Autonomous Linux manages this instance.Boolean
getIsManagementStation()
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.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.ManagedInstanceStatus
getStatus()
Current status of the managed instance.String
getTenancyId()
The OCID of the tenancy this managed instance resides in.Integer
getUpdatesAvailable()
Number of updates available for installation.int
hashCode()
ManagedInstanceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedInstanceSummary
@Deprecated @ConstructorProperties({"id","displayName","description","tenancyId","compartmentId","location","architecture","osFamily","status","managedInstanceGroup","lifecycleEnvironment","lifecycleStage","isRebootRequired","updatesAvailable","isManagementStation","notificationTopicId","autonomousSettings","isManagedByAutonomousLinux","agentVersion"}) public ManagedInstanceSummary(String id, String displayName, String description, String tenancyId, String compartmentId, ManagedInstanceLocation location, ArchType architecture, OsFamily osFamily, ManagedInstanceStatus status, Id managedInstanceGroup, Id lifecycleEnvironment, Id lifecycleStage, Boolean isRebootRequired, Integer updatesAvailable, Boolean isManagementStation, String notificationTopicId, AutonomousSettings autonomousSettings, Boolean isManagedByAutonomousLinux, String agentVersion)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedInstanceSummary.Builder builder()
Create a new builder.
-
toBuilder
public ManagedInstanceSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
User-friendly name for the managed instance.- Returns:
- the value
-
getDescription
public String getDescription()
User-specified description of the managed instance.- Returns:
- the value
-
getTenancyId
public String getTenancyId()
The OCID of the tenancy this managed instance resides in.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment that contains the managed instance.- Returns:
- the value
-
getLocation
public ManagedInstanceLocation getLocation()
The location of the managed instance.- Returns:
- the value
-
getArchitecture
public ArchType getArchitecture()
The CPU architecture type of the managed instance.- Returns:
- the value
-
getOsFamily
public OsFamily getOsFamily()
The operating system type of the managed instance.- Returns:
- the value
-
getStatus
public ManagedInstanceStatus getStatus()
Current status of the managed instance.- Returns:
- the value
-
getManagedInstanceGroup
public Id getManagedInstanceGroup()
-
getLifecycleEnvironment
public Id getLifecycleEnvironment()
-
getLifecycleStage
public Id getLifecycleStage()
-
getIsRebootRequired
public Boolean getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.- Returns:
- the value
-
getUpdatesAvailable
public Integer getUpdatesAvailable()
Number of updates available for installation.- Returns:
- the value
-
getIsManagementStation
public Boolean getIsManagementStation()
Whether this managed instance is acting as an on-premises management station.- Returns:
- the value
-
getNotificationTopicId
public 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
-
getAutonomousSettings
public AutonomousSettings getAutonomousSettings()
-
getIsManagedByAutonomousLinux
public Boolean getIsManagedByAutonomousLinux()
Indicates whether Autonomous Linux manages this instance.- Returns:
- the value
-
getAgentVersion
public String getAgentVersion()
The version of osmh-agent running on the managed 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
-
-