Class ManagementAgentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.managementagent.model.ManagementAgentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public final class ManagementAgentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of the Management Agent inventory including the associated plugins.
Note: Objects should always be created or deserialized using theManagementAgentSummary.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 theManagementAgentSummary.Builder, which maintain a set of all explicitly set fields calledManagementAgentSummary.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 classManagementAgentSummary.Builder
-
Constructor Summary
Constructors Constructor 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, String latestSupportedVersion, List<DataSourceSummaryItem> dataSourceSummaryList, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagementAgentSummary.Builderbuilder()Create a new builder.booleanequals(Object o)AvailabilityStatusgetAvailabilityStatus()The current availability status of managementAgentStringgetCompartmentId()Compartment IdentifierList<DataSourceSummaryItem>getDataSourceSummaryList()list of dataSources summaries associated with the agentMap<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()Management Agent NameMap<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetHost()Management Agent host machine nameStringgetHostId()Host resource ocidStringgetId()agent identifierStringgetInstallKeyId()agent install key identifierInstallTypesgetInstallType()The install type, either AGENT or GATEWAYBooleangetIsAgentAutoUpgradable()true if the agent can be upgraded automatically; false if it must be upgraded manually.BooleangetIsCustomerDeployed()true, if the agent image is manually downloaded and installed.StringgetLatestSupportedVersion()The latest supported management agent versionStringgetLifecycleDetails()A message describing the current state in more detail.LifecycleStatesgetLifecycleState()The current state of managementAgentStringgetPlatformName()Platform NamePlatformTypesgetPlatformType()Platform TypeStringgetPlatformVersion()Platform VersionList<ManagementAgentPluginDetails>getPluginList()list of managementAgentPlugins associated with the agentStringgetResourceArtifactVersion()Version of the deployment artifact instantiated by this Management Agent.Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeCreated()The time the Management Agent was created.DategetTimeLastHeartbeat()The time the Management Agent has last recorded its heartbeat.DategetTimeUpdated()The time the Management Agent was last updated.StringgetVersion()Management Agent VersioninthashCode()ManagementAgentSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagementAgentSummary
@Deprecated @ConstructorProperties({"id","installKeyId","displayName","platformType","platformName","platformVersion","version","resourceArtifactVersion","isAgentAutoUpgradable","timeCreated","timeUpdated","host","hostId","pluginList","compartmentId","timeLastHeartbeat","availabilityStatus","lifecycleState","lifecycleDetails","isCustomerDeployed","installType","latestSupportedVersion","dataSourceSummaryList","freeformTags","definedTags","systemTags"}) 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, String latestSupportedVersion, List<DataSourceSummaryItem> dataSourceSummaryList, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ManagementAgentSummary.Builder builder()
Create a new builder.
-
toBuilder
public ManagementAgentSummary.Builder toBuilder()
-
getId
public String getId()
agent identifier- Returns:
- the value
-
getInstallKeyId
public String getInstallKeyId()
agent install key identifier- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Management Agent Name- Returns:
- the value
-
getPlatformType
public PlatformTypes getPlatformType()
Platform Type- Returns:
- the value
-
getPlatformName
public String getPlatformName()
Platform Name- Returns:
- the value
-
getPlatformVersion
public String getPlatformVersion()
Platform Version- Returns:
- the value
-
getVersion
public String getVersion()
Management Agent Version- Returns:
- the value
-
getResourceArtifactVersion
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
- Returns:
- the value
-
getIsAgentAutoUpgradable
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.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the Management Agent was created.An RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time the Management Agent was last updated.An RFC3339 formatted datetime string
- Returns:
- the value
-
getHost
public String getHost()
Management Agent host machine name- Returns:
- the value
-
getHostId
public String getHostId()
Host resource ocid- Returns:
- the value
-
getPluginList
public List<ManagementAgentPluginDetails> getPluginList()
list of managementAgentPlugins associated with the agent- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier- Returns:
- the value
-
getTimeLastHeartbeat
public Date getTimeLastHeartbeat()
The time the Management Agent has last recorded its heartbeat.An RFC3339 formatted datetime string
- Returns:
- the value
-
getAvailabilityStatus
public AvailabilityStatus getAvailabilityStatus()
The current availability status of managementAgent- Returns:
- the value
-
getLifecycleState
public LifecycleStates getLifecycleState()
The current state of managementAgent- Returns:
- the value
-
getLifecycleDetails
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.
- Returns:
- the value
-
getIsCustomerDeployed
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.
- Returns:
- the value
-
getInstallType
public InstallTypes getInstallType()
The install type, either AGENT or GATEWAY- Returns:
- the value
-
getLatestSupportedVersion
public String getLatestSupportedVersion()
The latest supported management agent version- Returns:
- the value
-
getDataSourceSummaryList
public List<DataSourceSummaryItem> getDataSourceSummaryList()
list of dataSources summaries associated with the agent- Returns:
- the value
-
getFreeformTags
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”}
- Returns:
- the value
-
getDefinedTags
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”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-