@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RedshiftResultCompressionType extends Enum<RedshiftResultCompressionType>
The compression used for Redshift query results.
Modifier and Type | Method and Description |
---|---|
static RedshiftResultCompressionType |
fromValue(String value)
Use this in place of valueOf.
|
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 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 valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.