@Generated(value="software.amazon.awssdk:codegen") public enum RedshiftResultCompressionType extends Enum<RedshiftResultCompressionType>
The compression used for Redshift query results.
| Enum Constant and Description |
|---|
BZIP2 |
GZIP |
NONE |
SNAPPY |
UNKNOWN_TO_SDK_VERSION |
ZSTD |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftResultCompressionType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<RedshiftResultCompressionType> |
knownValues()
|
String |
toString() |
static RedshiftResultCompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedshiftResultCompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedshiftResultCompressionType NONE
public static final RedshiftResultCompressionType GZIP
public static final RedshiftResultCompressionType BZIP2
public static final RedshiftResultCompressionType ZSTD
public static final RedshiftResultCompressionType SNAPPY
public static final RedshiftResultCompressionType UNKNOWN_TO_SDK_VERSION
public static RedshiftResultCompressionType[] values()
for (RedshiftResultCompressionType c : RedshiftResultCompressionType.values()) System.out.println(c);
public static RedshiftResultCompressionType 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 String toString()
toString in class Enum<RedshiftResultCompressionType>public static RedshiftResultCompressionType fromValue(String value)
value - real valuepublic static Set<RedshiftResultCompressionType> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known RedshiftResultCompressionTypesCopyright © 2021. All rights reserved.