Enum KernelEventContent.ContentAvailability
- java.lang.Object
-
- java.lang.Enum<KernelEventContent.ContentAvailability>
-
- com.oracle.bmc.osmanagementhub.model.KernelEventContent.ContentAvailability
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<KernelEventContent.ContentAvailability>
- Enclosing class:
- KernelEventContent
public static enum KernelEventContent.ContentAvailability extends Enum<KernelEventContent.ContentAvailability> implements BmcEnum
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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AvailableOnInstance
AvailableOnInstanceAndService
AvailableOnInstanceUploadInProgress
AvailableOnService
NotAvailable
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KernelEventContent.ContentAvailability
create(String key)
String
getValue()
static KernelEventContent.ContentAvailability
valueOf(String name)
Returns the enum constant of this type with the specified name.static KernelEventContent.ContentAvailability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NotAvailable
public static final KernelEventContent.ContentAvailability NotAvailable
-
AvailableOnInstance
public static final KernelEventContent.ContentAvailability AvailableOnInstance
-
AvailableOnService
public static final KernelEventContent.ContentAvailability AvailableOnService
-
AvailableOnInstanceAndService
public static final KernelEventContent.ContentAvailability AvailableOnInstanceAndService
-
AvailableOnInstanceUploadInProgress
public static final KernelEventContent.ContentAvailability AvailableOnInstanceUploadInProgress
-
UnknownEnumValue
public static final KernelEventContent.ContentAvailability UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static KernelEventContent.ContentAvailability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KernelEventContent.ContentAvailability c : KernelEventContent.ContentAvailability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KernelEventContent.ContentAvailability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static KernelEventContent.ContentAvailability create(String key)
-
-