Package com.exoscale.sdk.model
Enum JsonSchemaKafkaConnect.ProducerCompressionTypeEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaKafkaConnect.ProducerCompressionTypeEnum>
-
- com.exoscale.sdk.model.JsonSchemaKafkaConnect.ProducerCompressionTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaKafkaConnect.ProducerCompressionTypeEnum>
- Enclosing class:
- JsonSchemaKafkaConnect
public static enum JsonSchemaKafkaConnect.ProducerCompressionTypeEnum extends Enum<JsonSchemaKafkaConnect.ProducerCompressionTypeEnum>
Specify the default compression type for producers. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'none' which is the default and equivalent to no compression.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum
fromValue(String value)
String
getValue()
String
toString()
static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GZIP
public static final JsonSchemaKafkaConnect.ProducerCompressionTypeEnum GZIP
-
SNAPPY
public static final JsonSchemaKafkaConnect.ProducerCompressionTypeEnum SNAPPY
-
LZ4
public static final JsonSchemaKafkaConnect.ProducerCompressionTypeEnum LZ4
-
ZSTD
public static final JsonSchemaKafkaConnect.ProducerCompressionTypeEnum ZSTD
-
NONE
public static final JsonSchemaKafkaConnect.ProducerCompressionTypeEnum NONE
-
-
Method Detail
-
values
public static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum[] 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 (JsonSchemaKafkaConnect.ProducerCompressionTypeEnum c : JsonSchemaKafkaConnect.ProducerCompressionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum 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<JsonSchemaKafkaConnect.ProducerCompressionTypeEnum>
-
fromValue
public static JsonSchemaKafkaConnect.ProducerCompressionTypeEnum fromValue(String value)
-
-