public class RequestXmlFactory
extends java.lang.Object
Constructor and Description |
---|
RequestXmlFactory() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
convertToXmlByteArray(java.util.List<PartETag> partETags)
Converts the specified list of PartETags to an XML fragment that can be
sent to the CompleteMultipartUpload operation of Amazon S3.
|
static byte[] |
convertToXmlByteArray(RestoreObjectRequest restoreObjectRequest)
Converts the RestoreObjectRequest to an XML fragment that can be sent to
the RestoreObject operation of Amazon S3.
|
public static byte[] convertToXmlByteArray(java.util.List<PartETag> partETags)
partETags
- The list of part ETags containing the data to include in the
new XML fragment.public static byte[] convertToXmlByteArray(RestoreObjectRequest restoreObjectRequest) throws AmazonClientException
restoreObjectRequest
- The container which provides options for restoring an object,
which was transitioned to the Glacier from S3 when it was
expired, into S3 again.AmazonClientException