Package com.amazonaws.services.s3.model
Class MultipartUpload
- java.lang.Object
-
- com.amazonaws.services.s3.model.MultipartUpload
-
- All Implemented Interfaces:
Serializable
public class MultipartUpload extends Object implements 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.
-
-
Constructor Summary
Constructors Constructor Description MultipartUpload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetInitiated()Returns the date at which this upload was initiated.OwnergetInitiator()Returns the user who initiated this multipart upload.StringgetKey()Returns the key by which this upload is stored.OwnergetOwner()Returns the owner of this multipart upload.StringgetStorageClass()Returns the storage class indicating how the data in this multipart upload will be stored.StringgetUploadId()Returns the unique ID of this multipart upload.voidsetInitiated(Date initiated)Sets the date at which this upload was initiated.voidsetInitiator(Owner initiator)Sets the user who initiated this multipart upload.voidsetKey(String key)Sets the key by which this upload is stored.voidsetOwner(Owner owner)Sets the owner of this multipart upload.voidsetStorageClass(String storageClass)Sets the storage class indicating how the data in this multipart upload will be stored.voidsetUploadId(String uploadId)Sets the unique ID of this multipart upload.
-
-
-
Method Detail
-
getKey
public String getKey()
Returns the key by which this upload is stored.- Returns:
- The key by which this upload is stored.
-
setKey
public void setKey(String key)
Sets the key by which this upload is stored.- Parameters:
key- The key by which this upload is stored.
-
getUploadId
public String getUploadId()
Returns the unique ID of this multipart upload.- Returns:
- The unique ID of this multipart upload.
-
setUploadId
public void setUploadId(String uploadId)
Sets the unique ID of this multipart upload.- Parameters:
uploadId- The unique ID of this multipart upload.
-
getOwner
public Owner getOwner()
Returns the owner of this multipart upload.- Returns:
- The owner of this multipart upload.
-
setOwner
public void setOwner(Owner owner)
Sets the owner of this multipart upload.- Parameters:
owner- The owner of this multipart upload.
-
getInitiator
public Owner getInitiator()
Returns the user who initiated this multipart upload.- Returns:
- The user who initiated this multipart upload.
-
setInitiator
public void setInitiator(Owner initiator)
Sets the user who initiated this multipart upload.- Parameters:
initiator- The user who initiated this multipart upload.
-
getStorageClass
public String 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
public void setStorageClass(String storageClass)
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
public Date getInitiated()
Returns the date at which this upload was initiated.- Returns:
- The date at which this upload was initiated.
-
setInitiated
public void setInitiated(Date initiated)
Sets the date at which this upload was initiated.- Parameters:
initiated- The date at which this upload was initiated.
-
-