Class KernelEventData
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.KernelEventData
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class KernelEventData extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInformation about the kernel event.
Note: Objects should always be created or deserialized using theKernelEventData.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 theKernelEventData.Builder, which maintain a set of all explicitly set fields calledKernelEventData.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 classKernelEventData.Builder
-
Constructor Summary
Constructors Constructor Description KernelEventData(KernelEventContent content, Integer count, String eventFingerprint, String reason, Date timeFirstOccurred, KernelEventAdditionalDetails additionalDetails)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KernelEventData.Builderbuilder()Create a new builder.booleanequals(Object o)KernelEventAdditionalDetailsgetAdditionalDetails()KernelEventContentgetContent()IntegergetCount()Number of times the event has occurred.StringgetEventFingerprint()Fingerprint of the event.StringgetReason()Reason for the event.DategetTimeFirstOccurred()The date and time that the event first occurred.inthashCode()KernelEventData.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
KernelEventData
@Deprecated @ConstructorProperties({"content","count","eventFingerprint","reason","timeFirstOccurred","additionalDetails"}) public KernelEventData(KernelEventContent content, Integer count, String eventFingerprint, String reason, Date timeFirstOccurred, KernelEventAdditionalDetails additionalDetails)
Deprecated.
-
-
Method Detail
-
builder
public static KernelEventData.Builder builder()
Create a new builder.
-
toBuilder
public KernelEventData.Builder toBuilder()
-
getContent
public KernelEventContent getContent()
-
getCount
public Integer getCount()
Number of times the event has occurred.- Returns:
- the value
-
getEventFingerprint
public String getEventFingerprint()
Fingerprint of the event.- Returns:
- the value
-
getReason
public String getReason()
Reason for the event.- Returns:
- the value
-
getTimeFirstOccurred
public Date getTimeFirstOccurred()
The date and time that the event first occurred.- Returns:
- the value
-
getAdditionalDetails
public KernelEventAdditionalDetails getAdditionalDetails()
-
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
-
-