Class FeedDocument
- java.lang.Object
-
- software.amazon.spapi.models.feeds.v2021_06_30.FeedDocument
-
public class FeedDocument extends java.lang.Object
Information required for the feed document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
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.
-
Constructor Summary
Constructors Constructor Description FeedDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedDocument
compressionAlgorithm(FeedDocument.CompressionAlgorithmEnum compressionAlgorithm)
boolean
equals(java.lang.Object o)
FeedDocument
feedDocumentId(java.lang.String feedDocumentId)
FeedDocument.CompressionAlgorithmEnum
getCompressionAlgorithm()
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.java.lang.String
getFeedDocumentId()
The identifier for the feed document.java.lang.String
getUrl()
A presigned URL for the feed document.int
hashCode()
void
setCompressionAlgorithm(FeedDocument.CompressionAlgorithmEnum compressionAlgorithm)
void
setFeedDocumentId(java.lang.String feedDocumentId)
void
setUrl(java.lang.String url)
java.lang.String
toString()
FeedDocument
url(java.lang.String url)
-
-
-
Method Detail
-
feedDocumentId
public FeedDocument feedDocumentId(java.lang.String feedDocumentId)
-
getFeedDocumentId
public java.lang.String getFeedDocumentId()
The identifier for the feed document. This identifier is unique only in combination with a seller ID.- Returns:
- feedDocumentId
-
setFeedDocumentId
public void setFeedDocumentId(java.lang.String feedDocumentId)
-
url
public FeedDocument url(java.lang.String url)
-
getUrl
public java.lang.String getUrl()
A presigned URL for the feed document. If `compressionAlgorithm` is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes.- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
compressionAlgorithm
public FeedDocument compressionAlgorithm(FeedDocument.CompressionAlgorithmEnum compressionAlgorithm)
-
getCompressionAlgorithm
public FeedDocument.CompressionAlgorithmEnum getCompressionAlgorithm()
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.- Returns:
- compressionAlgorithm
-
setCompressionAlgorithm
public void setCompressionAlgorithm(FeedDocument.CompressionAlgorithmEnum compressionAlgorithm)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-