@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class KernelCrashEvent extends Event
Information about a Kernel Crash.
Note: Objects should always be created or deserialized using the KernelCrashEvent.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 KernelCrashEvent.Builder
, which maintain a
set of all explicitly set fields called KernelCrashEvent.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 |
KernelCrashEvent.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
KernelCrashEvent(String id,
String instanceId,
String compartmentId,
String tenancyId,
String summary,
Date timestamp,
String eventFingerprint,
Integer count,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags,
String reason,
Date timeFirstOccurred,
KernelVmCoreInformation vmcore,
EventContent content,
CrashEventSystemInformation system)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static KernelCrashEvent.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
EventContent |
getContent() |
String |
getReason()
reason of the crash
|
CrashEventSystemInformation |
getSystem() |
Date |
getTimeFirstOccurred()
First occurrence time of the event
|
KernelVmCoreInformation |
getVmcore() |
int |
hashCode() |
KernelCrashEvent.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getCount, getDefinedTags, getEventFingerprint, getFreeformTags, getId, getInstanceId, getSummary, getSystemTags, getTenancyId, getTimestamp
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public KernelCrashEvent(String id, String instanceId, String compartmentId, String tenancyId, String summary, Date timestamp, String eventFingerprint, Integer count, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, String reason, Date timeFirstOccurred, KernelVmCoreInformation vmcore, EventContent content, CrashEventSystemInformation system)
public static KernelCrashEvent.Builder builder()
Create a new builder.
public KernelCrashEvent.Builder toBuilder()
public String getReason()
reason of the crash
public Date getTimeFirstOccurred()
First occurrence time of the event
public KernelVmCoreInformation getVmcore()
public EventContent getContent()
public CrashEventSystemInformation getSystem()
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.