Package com.exoscale.sdk.model
Enum JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum>
-
- com.exoscale.sdk.model.JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum>
- Enclosing class:
- JsonSchemaKafkaRest
public static enum JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum extends Enum<JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum>
The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NUMBER_1000
NUMBER_15000
NUMBER_30000
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum
fromValue(Integer value)
Integer
getValue()
String
toString()
static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER_1000
public static final JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum NUMBER_1000
-
NUMBER_15000
public static final JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum NUMBER_15000
-
NUMBER_30000
public static final JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum NUMBER_30000
-
-
Method Detail
-
values
public static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum[] 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 (JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum c : JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum 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 Integer getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum>
-
fromValue
public static JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum fromValue(Integer value)
-
-