@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class JmsPlugin extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about a JmsPlugin that has been registered.
Note: Objects should always be created or deserialized using the JmsPlugin.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 JmsPlugin.Builder
, which maintain a
set of all explicitly set fields called JmsPlugin.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 |
JmsPlugin.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
JmsPlugin(String id,
String agentId,
AgentType agentType,
JmsPluginLifecycleState lifecycleState,
JmsPluginAvailabilityStatus availabilityStatus,
String fleetId,
String compartmentId,
String hostname,
OsFamily osFamily,
String osArchitecture,
String osDistribution,
String pluginVersion,
Date timeRegistered,
Date timeLastSeen,
Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JmsPlugin.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAgentId()
The OCID of the
Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is
deployed.
|
AgentType |
getAgentType()
The agent type.
|
JmsPluginAvailabilityStatus |
getAvailabilityStatus()
The availability status.
|
String |
getCompartmentId()
The OMA/OCA agent’s compartment
OCID.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getFleetId()
The OCID of the
fleet.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type, or scope.
|
String |
getHostname()
The hostname of the agent.
|
String |
getId()
The OCID to
identify this JmsPlugin.
|
JmsPluginLifecycleState |
getLifecycleState()
The lifecycle state.
|
String |
getOsArchitecture()
The architecture of the operating system of the plugin.
|
String |
getOsDistribution()
The distribution of the operating system of the plugin.
|
OsFamily |
getOsFamily()
The operating system family for the plugin.
|
String |
getPluginVersion()
The version of the plugin.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Date |
getTimeLastSeen()
The date and time the resource was last reported to JMS.
|
Date |
getTimeRegistered()
The date and time the plugin was registered.
|
int |
hashCode() |
JmsPlugin.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","agentId","agentType","lifecycleState","availabilityStatus","fleetId","compartmentId","hostname","osFamily","osArchitecture","osDistribution","pluginVersion","timeRegistered","timeLastSeen","definedTags","freeformTags","systemTags"}) public JmsPlugin(String id, String agentId, AgentType agentType, JmsPluginLifecycleState lifecycleState, JmsPluginAvailabilityStatus availabilityStatus, String fleetId, String compartmentId, String hostname, OsFamily osFamily, String osArchitecture, String osDistribution, String pluginVersion, Date timeRegistered, Date timeLastSeen, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags)
public static JmsPlugin.Builder builder()
Create a new builder.
public JmsPlugin.Builder toBuilder()
public String getAgentId()
The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.
public AgentType getAgentType()
The agent type.
public JmsPluginLifecycleState getLifecycleState()
The lifecycle state.
public JmsPluginAvailabilityStatus getAvailabilityStatus()
The availability status.
public String getCompartmentId()
The OMA/OCA agent’s compartment OCID.
public String getHostname()
The hostname of the agent.
public OsFamily getOsFamily()
The operating system family for the plugin.
public String getOsArchitecture()
The architecture of the operating system of the plugin.
public String getOsDistribution()
The distribution of the operating system of the plugin.
public String getPluginVersion()
The version of the plugin.
public Date getTimeRegistered()
The date and time the plugin was registered.
public Date getTimeLastSeen()
The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
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"}}
. (See Understanding Free-form
Tags).
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"}
. (See Managing Tags and Tag
Namespaces.)
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
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.