@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class PluginErrorSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Entity that represents an error identified in a plugin.
Note: Objects should always be created or deserialized using the PluginErrorSummary.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 PluginErrorSummary.Builder
, which maintain a
set of all explicitly set fields called PluginErrorSummary.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 |
PluginErrorSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PluginErrorSummary(String managedInstanceId,
AgentType agentType,
String hostName,
String compartmentId,
List<PluginErrorDetails> errors,
Date timeLastSeen,
Date timeFirstSeen)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PluginErrorSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AgentType |
getAgentType()
The agent type.
|
String |
getCompartmentId()
The compartment
OCID of the Fleet.
|
List<PluginErrorDetails> |
getErrors()
List of plugin error details.
|
String |
getHostName()
The HostName or Compute Instance name of the Managed Instance running the plugin.
|
String |
getManagedInstanceId()
The OCID of the
Managed Instance running the plugin.
|
Date |
getTimeFirstSeen()
The timestamp of the first time an error was detected.
|
Date |
getTimeLastSeen()
The timestamp of the last time an error was detected.
|
int |
hashCode() |
PluginErrorSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"managedInstanceId","agentType","hostName","compartmentId","errors","timeLastSeen","timeFirstSeen"}) public PluginErrorSummary(String managedInstanceId, AgentType agentType, String hostName, String compartmentId, List<PluginErrorDetails> errors, Date timeLastSeen, Date timeFirstSeen)
public static PluginErrorSummary.Builder builder()
Create a new builder.
public PluginErrorSummary.Builder toBuilder()
public String getManagedInstanceId()
The OCID of the Managed Instance running the plugin.
public AgentType getAgentType()
The agent type.
public String getHostName()
The HostName or Compute Instance name of the Managed Instance running the plugin.
public String getCompartmentId()
The compartment OCID of the Fleet.
public List<PluginErrorDetails> getErrors()
List of plugin error details.
public Date getTimeLastSeen()
The timestamp of the last time an error was detected.
public Date getTimeFirstSeen()
The timestamp of the first time an error was detected.
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–2025. All rights reserved.