@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public final class ManagementAgentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Management Agent inventory including the associated plugins.
Note: Objects should always be created or deserialized using the ManagementAgentSummary.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 ManagementAgentSummary.Builder
, which maintain a
set of all explicitly set fields called ManagementAgentSummary.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 |
ManagementAgentSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ManagementAgentSummary(String id,
String installKeyId,
String displayName,
PlatformTypes platformType,
String platformName,
String platformVersion,
String version,
String resourceArtifactVersion,
Boolean isAgentAutoUpgradable,
Date timeCreated,
Date timeUpdated,
String host,
String hostId,
List<ManagementAgentPluginDetails> pluginList,
String compartmentId,
Date timeLastHeartbeat,
AvailabilityStatus availabilityStatus,
LifecycleStates lifecycleState,
String lifecycleDetails,
Boolean isCustomerDeployed,
InstallTypes installType,
List<DataSourceSummaryItem> dataSourceSummaryList,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagementAgentSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AvailabilityStatus |
getAvailabilityStatus()
The current availability status of managementAgent
|
String |
getCompartmentId()
Compartment Identifier
|
List<DataSourceSummaryItem> |
getDataSourceSummaryList()
list of dataSources summaries associated with the agent
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDisplayName()
Management Agent Name
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getHost()
Management Agent host machine name
|
String |
getHostId()
Host resource ocid
|
String |
getId()
agent identifier
|
String |
getInstallKeyId()
agent install key identifier
|
InstallTypes |
getInstallType()
The install type, either AGENT or GATEWAY
|
Boolean |
getIsAgentAutoUpgradable()
true if the agent can be upgraded automatically; false if it must be upgraded manually.
|
Boolean |
getIsCustomerDeployed()
true, if the agent image is manually downloaded and installed.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleStates |
getLifecycleState()
The current state of managementAgent
|
String |
getPlatformName()
Platform Name
|
PlatformTypes |
getPlatformType()
Platform Type
|
String |
getPlatformVersion()
Platform Version
|
List<ManagementAgentPluginDetails> |
getPluginList()
list of managementAgentPlugins associated with the agent
|
String |
getResourceArtifactVersion()
Version of the deployment artifact instantiated by this Management Agent.
|
Date |
getTimeCreated()
The time the Management Agent was created.
|
Date |
getTimeLastHeartbeat()
The time the Management Agent has last recorded its heartbeat.
|
Date |
getTimeUpdated()
The time the Management Agent was last updated.
|
String |
getVersion()
Management Agent Version
|
int |
hashCode() |
ManagementAgentSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","installKeyId","displayName","platformType","platformName","platformVersion","version","resourceArtifactVersion","isAgentAutoUpgradable","timeCreated","timeUpdated","host","hostId","pluginList","compartmentId","timeLastHeartbeat","availabilityStatus","lifecycleState","lifecycleDetails","isCustomerDeployed","installType","dataSourceSummaryList","freeformTags","definedTags"}) public ManagementAgentSummary(String id, String installKeyId, String displayName, PlatformTypes platformType, String platformName, String platformVersion, String version, String resourceArtifactVersion, Boolean isAgentAutoUpgradable, Date timeCreated, Date timeUpdated, String host, String hostId, List<ManagementAgentPluginDetails> pluginList, String compartmentId, Date timeLastHeartbeat, AvailabilityStatus availabilityStatus, LifecycleStates lifecycleState, String lifecycleDetails, Boolean isCustomerDeployed, InstallTypes installType, List<DataSourceSummaryItem> dataSourceSummaryList, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static ManagementAgentSummary.Builder builder()
Create a new builder.
public ManagementAgentSummary.Builder toBuilder()
public String getId()
agent identifier
public String getInstallKeyId()
agent install key identifier
public String getDisplayName()
Management Agent Name
public PlatformTypes getPlatformType()
Platform Type
public String getPlatformName()
Platform Name
public String getPlatformVersion()
Platform Version
public String getVersion()
Management Agent Version
public String getResourceArtifactVersion()
Version of the deployment artifact instantiated by this Management Agent. The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes (whose artifacts are based upon Standalone but can advance independently) is YYMMDD.HHMM.VVVVVVVVVVVV. VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999
public Boolean getIsAgentAutoUpgradable()
true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.
public Date getTimeCreated()
The time the Management Agent was created. An RFC3339 formatted datetime string
public Date getTimeUpdated()
The time the Management Agent was last updated. An RFC3339 formatted datetime string
public String getHost()
Management Agent host machine name
public String getHostId()
Host resource ocid
public List<ManagementAgentPluginDetails> getPluginList()
list of managementAgentPlugins associated with the agent
public String getCompartmentId()
Compartment Identifier
public Date getTimeLastHeartbeat()
The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string
public AvailabilityStatus getAvailabilityStatus()
The current availability status of managementAgent
public LifecycleStates getLifecycleState()
The current state of managementAgent
public String getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public Boolean getIsCustomerDeployed()
true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.
public InstallTypes getInstallType()
The install type, either AGENT or GATEWAY
public List<DataSourceSummaryItem> getDataSourceSummaryList()
list of dataSources summaries associated with the agent
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
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.