com.amazonaws.services.s3.model
Class MultipartUpload

java.lang.Object
  extended by com.amazonaws.services.s3.model.MultipartUpload

public class MultipartUpload
extends Object

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:
AmazonS3.initiateMultipartUpload(InitiateMultipartUploadRequest), AmazonS3.uploadPart(UploadPartRequest), AmazonS3.completeMultipartUpload(CompleteMultipartUploadRequest), AmazonS3.abortMultipartUpload(AbortMultipartUploadRequest)

Constructor Summary
MultipartUpload()
           
 
Method Summary
 Date getInitiated()
          Returns the date at which this upload was initiated.
 Owner getInitiator()
          Returns the user who initiated this multipart upload.
 String getKey()
          Returns the key by which this upload is stored.
 Owner getOwner()
          Returns the owner of this multipart upload.
 String getStorageClass()
          Returns the storage class indicating how the data in this multipart upload will be stored.
 String getUploadId()
          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 setKey(String key)
          Sets the key by which this upload is stored.
 void setOwner(Owner owner)
          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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartUpload

public MultipartUpload()
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:
owner - 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.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.