Class CompressorType
- java.lang.Object
-
- software.amazon.awssdk.core.internal.compression.CompressorType
-
@SdkInternalApi public final class CompressorType extends Object
The supported compression algorithms for operations with the requestCompression trait. Each supported algorithm will have anCompressorimplementation.
-
-
Field Summary
Fields Modifier and Type Field Description static CompressorTypeGZIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>compressorTypes()booleanequals(Object o)inthashCode()static booleanisSupported(String compressionType)Whether or not the compressor type is supported by the SDK.CompressornewCompressor()Maps theCompressorTypeto its correspondingCompressor.static CompressorTypeof(String value)Creates a newCompressorTypeof the given value.StringtoString()
-
-
-
Field Detail
-
GZIP
public static final CompressorType GZIP
-
-
Method Detail
-
of
public static CompressorType of(String value)
Creates a newCompressorTypeof 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 theCompressorTypeto its correspondingCompressor.
-
-