Class KernelEventContent
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.EventContent
-
- com.oracle.bmc.osmanagementhub.model.KernelEventContent
-
@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 theKernelEventContent.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 theKernelEventContent.Builder
, which maintain a set of all explicitly set fields calledKernelEventContent.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
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.-
Nested classes/interfaces inherited from class com.oracle.bmc.osmanagementhub.model.EventContent
EventContent.Type
-
-
Constructor Summary
Constructors Constructor Description KernelEventContent(KernelEventContent.ContentAvailability contentAvailability, String contentLocation, Integer size)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
KernelEventContent
@Deprecated public KernelEventContent(KernelEventContent.ContentAvailability contentAvailability, String contentLocation, Integer size)
Deprecated.
-
-
Method Detail
-
builder
public static KernelEventContent.Builder builder()
Create a new builder.
-
toBuilder
public KernelEventContent.Builder toBuilder()
-
getContentAvailability
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.
- Returns:
- the value
-
getContentLocation
public String getContentLocation()
Location of the Kernel event content.- Returns:
- the value
-
getSize
public Integer getSize()
Size of the event content.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classEventContent
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classEventContent
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classEventContent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classEventContent
-
-