Package com.exoscale.sdk.model
Enum JsonSchemaKafka.LogMessageTimestampTypeEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaKafka.LogMessageTimestampTypeEnum>
-
- com.exoscale.sdk.model.JsonSchemaKafka.LogMessageTimestampTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaKafka.LogMessageTimestampTypeEnum>
- Enclosing class:
- JsonSchemaKafka
public static enum JsonSchemaKafka.LogMessageTimestampTypeEnum extends Enum<JsonSchemaKafka.LogMessageTimestampTypeEnum>
Define whether the timestamp in the message is message create time or log append time.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATETIME
LOGAPPENDTIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaKafka.LogMessageTimestampTypeEnum
fromValue(String value)
String
getValue()
String
toString()
static JsonSchemaKafka.LogMessageTimestampTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaKafka.LogMessageTimestampTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATETIME
public static final JsonSchemaKafka.LogMessageTimestampTypeEnum CREATETIME
-
LOGAPPENDTIME
public static final JsonSchemaKafka.LogMessageTimestampTypeEnum LOGAPPENDTIME
-
-
Method Detail
-
values
public static JsonSchemaKafka.LogMessageTimestampTypeEnum[] 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 (JsonSchemaKafka.LogMessageTimestampTypeEnum c : JsonSchemaKafka.LogMessageTimestampTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaKafka.LogMessageTimestampTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonSchemaKafka.LogMessageTimestampTypeEnum>
-
fromValue
public static JsonSchemaKafka.LogMessageTimestampTypeEnum fromValue(String value)
-
-