Enum FeedDocument.CompressionAlgorithmEnum
- java.lang.Object
-
- java.lang.Enum<FeedDocument.CompressionAlgorithmEnum>
-
- software.amazon.spapi.models.feeds.v2021_06_30.FeedDocument.CompressionAlgorithmEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FeedDocument.CompressionAlgorithmEnum>
- Enclosing class:
- FeedDocument
public static enum FeedDocument.CompressionAlgorithmEnum extends java.lang.Enum<FeedDocument.CompressionAlgorithmEnum>
If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to [Step 7. Download the feed processing report](doc:feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeedDocument.CompressionAlgorithmEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description GZIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeedDocument.CompressionAlgorithmEnum
fromValue(java.lang.String input)
java.lang.String
getValue()
java.lang.String
toString()
static FeedDocument.CompressionAlgorithmEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FeedDocument.CompressionAlgorithmEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GZIP
@SerializedName("GZIP") public static final FeedDocument.CompressionAlgorithmEnum GZIP
-
-
Method Detail
-
values
public static FeedDocument.CompressionAlgorithmEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FeedDocument.CompressionAlgorithmEnum c : FeedDocument.CompressionAlgorithmEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedDocument.CompressionAlgorithmEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FeedDocument.CompressionAlgorithmEnum>
-
fromValue
public static FeedDocument.CompressionAlgorithmEnum fromValue(java.lang.String input)
-
-