Class KernelEventContent.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.KernelEventContent.Builder
-
- Enclosing class:
- KernelEventContent
public static class KernelEventContent.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KernelEventContent
build()
KernelEventContent.Builder
contentAvailability(KernelEventContent.ContentAvailability 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.KernelEventContent.Builder
contentLocation(String contentLocation)
Location of the Kernel event content.KernelEventContent.Builder
copy(KernelEventContent model)
KernelEventContent.Builder
size(Integer size)
Size of the event content.
-
-
-
Method Detail
-
contentAvailability
public KernelEventContent.Builder contentAvailability(KernelEventContent.ContentAvailability 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.- ‘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.
- Parameters:
contentAvailability
- the value to set- Returns:
- this builder
-
contentLocation
public KernelEventContent.Builder contentLocation(String contentLocation)
Location of the Kernel event content.- Parameters:
contentLocation
- the value to set- Returns:
- this builder
-
size
public KernelEventContent.Builder size(Integer size)
Size of the event content.- Parameters:
size
- the value to set- Returns:
- this builder
-
build
public KernelEventContent build()
-
copy
public KernelEventContent.Builder copy(KernelEventContent model)
-
-