@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class KernelEventContent extends EventContent
Provides information collected for the kernel event.
Note: Objects should always be created or deserialized using the KernelEventContent.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 KernelEventContent.Builder
, which maintain a
set of all explicitly set fields called KernelEventContent.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 |
KernelEventContent.Builder |
static class |
KernelEventContent.ContentAvailability
Crash content availability status: * ‘NOT_AVAILABLE’ indicates the content is not available
on the instance nor in the service * ‘AVAILABLE_ON_INSTANCE’ indicates the content is only
available on the instance.
|
EventContent.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
KernelEventContent(KernelEventContent.ContentAvailability contentAvailability,
String contentLocation,
Integer size)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static KernelEventContent.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
KernelEventContent.ContentAvailability |
getContentAvailability()
Crash content availability status: * ‘NOT_AVAILABLE’ indicates the content is not available
on the instance nor in the service * ‘AVAILABLE_ON_INSTANCE’ indicates the content is only
available on the instance.
|
String |
getContentLocation()
Location of the Kernel event content.
|
Integer |
getSize()
Size of the event content.
|
int |
hashCode() |
KernelEventContent.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public KernelEventContent(KernelEventContent.ContentAvailability contentAvailability, String contentLocation, Integer size)
public static KernelEventContent.Builder builder()
Create a new builder.
public KernelEventContent.Builder toBuilder()
public KernelEventContent.ContentAvailability getContentAvailability()
Crash content availability status: * ‘NOT_AVAILABLE’ indicates the content is not available on the instance nor in the service * ‘AVAILABLE_ON_INSTANCE’ indicates the content is only available on the instance. * ‘AVAILABLE_ON_SERVICE’ indicates the content is only available on the service. * ‘AVAILABLE_ON_INSTANCE_AND_SERVICE’ indicates the content is available both on the instance and the service * ‘AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS’ indicates the content is available on the instance and its upload to the service is in progress.
public String getContentLocation()
Location of the Kernel event content.
public Integer getSize()
Size of the event content.
public String toString()
toString
in class EventContent
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class EventContent
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class EventContent
public int hashCode()
hashCode
in class EventContent
Copyright © 2016–2024. All rights reserved.