public class RequestXmlFactory extends Object
Constructor and Description |
---|
RequestXmlFactory() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
convertToXmlByteArray(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(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 SdkClientException
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.SdkClientException
Copyright © 2017. All rights reserved.