Enum Compression.Codec
- java.lang.Object
-
- java.lang.Enum<Compression.Codec>
-
- com.oracle.bmc.dataintegration.model.Compression.Codec
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Compression.Codec>
- Enclosing class:
- Compression
public static enum Compression.Codec extends Enum<Compression.Codec> implements BmcEnum
Compression algorithm
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Compression.Codec
create(String key)
String
getValue()
static Compression.Codec
valueOf(String name)
Returns the enum constant of this type with the specified name.static Compression.Codec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final Compression.Codec None
-
Auto
public static final Compression.Codec Auto
-
Gzip
public static final Compression.Codec Gzip
-
Bzip2
public static final Compression.Codec Bzip2
-
Deflate
public static final Compression.Codec Deflate
-
Lz4
public static final Compression.Codec Lz4
-
Snappy
public static final Compression.Codec Snappy
-
UnknownEnumValue
public static final Compression.Codec 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 Compression.Codec[] 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 (Compression.Codec c : Compression.Codec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Compression.Codec 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 Compression.Codec create(String key)
-
-