@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 the ManagedInstanceSummary.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 ManagedInstanceSummary.Builder
, which maintain a
set of all explicitly set fields called ManagedInstanceSummary.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 |
ManagedInstanceSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagedInstanceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ArchType |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","description","tenancyId","compartmentId","location","architecture","osFamily","status","managedInstanceGroup","lifecycleEnvironment","lifecycleStage","isRebootRequired","updatesAvailable","isManagementStation","notificationTopicId","autonomousSettings","isManagedByAutonomousLinux"}) 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)
public static ManagedInstanceSummary.Builder builder()
Create a new builder.
public ManagedInstanceSummary.Builder toBuilder()
public String getDisplayName()
User-friendly name for the managed instance.
public String getDescription()
User-specified description of the managed instance.
public String getTenancyId()
The OCID of the tenancy this 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 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 Id getManagedInstanceGroup()
public Id getLifecycleEnvironment()
public Id getLifecycleStage()
public Boolean getIsRebootRequired()
Indicates whether a reboot is required to complete installation of updates.
public Integer getUpdatesAvailable()
Number of updates available for installation.
public Boolean getIsManagementStation()
Whether this managed instance is acting as an on-premises management station.
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 Autonomous Linux manages this 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.