Class KernelCrashEvent
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagement.model.Event
-
- com.oracle.bmc.osmanagement.model.KernelCrashEvent
-
@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 theKernelCrashEvent.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 theKernelCrashEvent.Builder
, which maintain a set of all explicitly set fields calledKernelCrashEvent.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 class
KernelCrashEvent.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KernelCrashEvent.Builder
builder()
Create a new builder.boolean
equals(Object o)
EventContent
getContent()
String
getReason()
reason of the crashCrashEventSystemInformation
getSystem()
Date
getTimeFirstOccurred()
First occurrence time of the eventKernelVmCoreInformation
getVmcore()
int
hashCode()
KernelCrashEvent.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.osmanagement.model.Event
getCompartmentId, getCount, getDefinedTags, getEventFingerprint, getFreeformTags, getId, getInstanceId, getSummary, getSystemTags, getTenancyId, getTimestamp
-
-
-
-
Constructor Detail
-
KernelCrashEvent
@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)
Deprecated.
-
-
Method Detail
-
builder
public static KernelCrashEvent.Builder builder()
Create a new builder.
-
toBuilder
public KernelCrashEvent.Builder toBuilder()
-
getReason
public String getReason()
reason of the crash- Returns:
- the value
-
getTimeFirstOccurred
public Date getTimeFirstOccurred()
First occurrence time of the event- Returns:
- the value
-
getVmcore
public KernelVmCoreInformation getVmcore()
-
getContent
public EventContent getContent()
-
getSystem
public CrashEventSystemInformation getSystem()
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-