Enum PropertyDefinition.Type
- java.lang.Object
-
- java.lang.Enum<PropertyDefinition.Type>
-
- com.oracle.bmc.loganalytics.model.PropertyDefinition.Type
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<PropertyDefinition.Type>
- Enclosing class:
- PropertyDefinition
public static enum PropertyDefinition.Type extends Enum<PropertyDefinition.Type> implements BmcEnum
Type of the property.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyDefinition.Typecreate(String key)StringgetValue()static PropertyDefinition.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyDefinition.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
String
public static final PropertyDefinition.Type String
-
Double
public static final PropertyDefinition.Type Double
-
Float
public static final PropertyDefinition.Type Float
-
Long
public static final PropertyDefinition.Type Long
-
Integer
public static final PropertyDefinition.Type Integer
-
Timestamp
public static final PropertyDefinition.Type Timestamp
-
UnknownEnumValue
public static final PropertyDefinition.Type 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 PropertyDefinition.Type[] 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 (PropertyDefinition.Type c : PropertyDefinition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinition.Type 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 PropertyDefinition.Type create(String key)
-
-