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 EventContentProvides 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 classKernelEventContent.Builderstatic classKernelEventContent.ContentAvailabilityCrash 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.Builderbuilder()Create a new builder.booleanequals(Object o)KernelEventContent.ContentAvailabilitygetContentAvailability()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.StringgetContentLocation()Location of the Kernel event content.IntegergetSize()Size of the event content.inthashCode()KernelEventContent.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classEventContent
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classEventContent- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classEventContent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classEventContent
-
-