Package com.amazonaws.services.s3.model
Class MultipartUpload
java.lang.Object
com.amazonaws.services.s3.model.MultipartUpload
- All Implemented Interfaces:
Serializable
A multipart upload is an upload to Amazon S3 that is creating by uploading
individual pieces of an object, then telling Amazon S3 to complete the
multipart upload and concatenate all the individual pieces together into a
single object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the date at which this upload was initiated.Returns the user who initiated this multipart upload.getKey()
Returns the key by which this upload is stored.getOwner()
Returns the owner of this multipart upload.Returns the storage class indicating how the data in this multipart upload will be stored.Returns the unique ID of this multipart upload.void
setInitiated
(Date initiated) Sets the date at which this upload was initiated.void
setInitiator
(Owner initiator) Sets the user who initiated this multipart upload.void
Sets the key by which this upload is stored.void
Sets the owner of this multipart upload.void
setStorageClass
(String storageClass) Sets the storage class indicating how the data in this multipart upload will be stored.void
setUploadId
(String uploadId) Sets the unique ID of this multipart upload.
-
Constructor Details
-
MultipartUpload
public MultipartUpload()
-
-
Method Details
-
getKey
Returns the key by which this upload is stored.- Returns:
- The key by which this upload is stored.
-
setKey
Sets the key by which this upload is stored.- Parameters:
key
- The key by which this upload is stored.
-
getUploadId
Returns the unique ID of this multipart upload.- Returns:
- The unique ID of this multipart upload.
-
setUploadId
Sets the unique ID of this multipart upload.- Parameters:
uploadId
- The unique ID of this multipart upload.
-
getOwner
Returns the owner of this multipart upload.- Returns:
- The owner of this multipart upload.
-
setOwner
Sets the owner of this multipart upload.- Parameters:
owner
- The owner of this multipart upload.
-
getInitiator
Returns the user who initiated this multipart upload.- Returns:
- The user who initiated this multipart upload.
-
setInitiator
Sets the user who initiated this multipart upload.- Parameters:
initiator
- The user who initiated this multipart upload.
-
getStorageClass
Returns the storage class indicating how the data in this multipart upload will be stored.- Returns:
- The storage class indicating how the data in this multipart upload will be stored.
-
setStorageClass
Sets the storage class indicating how the data in this multipart upload will be stored.- Parameters:
storageClass
- The storage class indicating how the data in this multipart upload will be stored.
-
getInitiated
Returns the date at which this upload was initiated.- Returns:
- The date at which this upload was initiated.
-
setInitiated
Sets the date at which this upload was initiated.- Parameters:
initiated
- The date at which this upload was initiated.
-