@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MacsManagedCloudHostInsight extends HostInsight
MACS-managed OCI Compute host insight resource.
Note: Objects should always be created or deserialized using the MacsManagedCloudHostInsight.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 MacsManagedCloudHostInsight.Builder
, which maintain a
set of all explicitly set fields called MacsManagedCloudHostInsight.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 |
MacsManagedCloudHostInsight.Builder |
static class |
MacsManagedCloudHostInsight.PlatformType
Platform type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MacsManagedCloudHostInsight(String id,
String compartmentId,
String hostName,
String hostDisplayName,
String hostType,
Integer processorCount,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
ResourceStatus status,
Date timeCreated,
Date timeUpdated,
LifecycleState lifecycleState,
String lifecycleDetails,
String computeId,
String managementAgentId,
String platformName,
MacsManagedCloudHostInsight.PlatformType platformType,
String platformVersion)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MacsManagedCloudHostInsight.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getComputeId()
The OCID of
the Compute Instance
|
String |
getManagementAgentId()
The OCID of
the Management Agent
|
String |
getPlatformName()
Platform name.
|
MacsManagedCloudHostInsight.PlatformType |
getPlatformType()
Platform type.
|
String |
getPlatformVersion()
Platform version.
|
int |
hashCode() |
MacsManagedCloudHostInsight.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getFreeformTags, getHostDisplayName, getHostName, getHostType, getId, getLifecycleDetails, getLifecycleState, getProcessorCount, getStatus, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public MacsManagedCloudHostInsight(String id, String compartmentId, String hostName, String hostDisplayName, String hostType, Integer processorCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, ResourceStatus status, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails, String computeId, String managementAgentId, String platformName, MacsManagedCloudHostInsight.PlatformType platformType, String platformVersion)
public static MacsManagedCloudHostInsight.Builder builder()
Create a new builder.
public MacsManagedCloudHostInsight.Builder toBuilder()
public String getManagementAgentId()
The OCID of the Management Agent
public String getPlatformName()
Platform name.
public MacsManagedCloudHostInsight.PlatformType getPlatformType()
Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
public String getPlatformVersion()
Platform version.
public String toString()
toString
in class HostInsight
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostInsight
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostInsight
public int hashCode()
hashCode
in class HostInsight
Copyright © 2016–2024. All rights reserved.