Class CompressorType
- java.lang.Object
-
- software.amazon.awssdk.core.internal.compression.CompressorType
-
public final class CompressorType extends Object
The supported compression algorithms for operations with the requestCompression trait. Each supported algorithm will have anCompressor
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static CompressorType
GZIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
compressorTypes()
boolean
equals(Object o)
int
hashCode()
static boolean
isSupported(String compressionType)
Whether or not the compressor type is supported by the SDK.Compressor
newCompressor()
Maps theCompressorType
to its correspondingCompressor
.static CompressorType
of(String value)
Creates a newCompressorType
of the given value.String
toString()
-
-
-
Field Detail
-
GZIP
public static final CompressorType GZIP
-
-
Method Detail
-
of
public static CompressorType of(String value)
Creates a newCompressorType
of the given value.
-
isSupported
public static boolean isSupported(String compressionType)
Whether or not the compressor type is supported by the SDK.
-
newCompressor
public Compressor newCompressor()
Maps theCompressorType
to its correspondingCompressor
.
-
-