public static enum Compression.Codec extends Enum<Compression.Codec> implements BmcEnum
Compression algorithm
Enum Constant and Description |
---|
Auto |
Bzip2 |
Deflate |
Gzip |
Lz4 |
None |
Snappy |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and 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.
|
public static final Compression.Codec None
public static final Compression.Codec Auto
public static final Compression.Codec Gzip
public static final Compression.Codec Bzip2
public static final Compression.Codec Deflate
public static final Compression.Codec Lz4
public static final Compression.Codec Snappy
public static final Compression.Codec UnknownEnumValue
public static Compression.Codec[] values()
for (Compression.Codec c : Compression.Codec.values()) System.out.println(c);
public static Compression.Codec valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Compression.Codec create(String key)
Copyright © 2016–2024. All rights reserved.