com.amazonaws.services.s3.model
Class InitiateMultipartUploadResult

java.lang.Object
  extended by com.amazonaws.services.s3.model.InitiateMultipartUploadResult
All Implemented Interfaces:
com.amazonaws.services.s3.internal.ServerSideEncryptionResult

public class InitiateMultipartUploadResult
extends Object
implements com.amazonaws.services.s3.internal.ServerSideEncryptionResult

Contains the results of initiating a multipart upload, particularly the unique ID of the new multipart upload.

See Also:
AmazonS3.initiateMultipartUpload(InitiateMultipartUploadRequest)

Constructor Summary
InitiateMultipartUploadResult()
           
 
Method Summary
 String getBucketName()
          Returns the name of the bucket in which the new multipart upload was initiated.
 String getKey()
          Returns the object key for which the multipart upload was initiated.
 String getServerSideEncryption()
          Returns the server-side encryption algorithm for the newly created object, or null if none was used.
 String getUploadId()
          Returns the initiated multipart upload ID.
 void setBucketName(String bucketName)
          Sets the name of the bucket in which the new multipart upload was initiated.
 void setKey(String key)
          Sets the object key for which the multipart upload was initiated.
 void setServerSideEncryption(String serverSideEncryption)
          Sets the server-side encryption algorithm for the newly created object.
 void setUploadId(String uploadId)
          Sets the initiated multipart upload ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitiateMultipartUploadResult

public InitiateMultipartUploadResult()
Method Detail

getBucketName

public String getBucketName()
Returns the name of the bucket in which the new multipart upload was initiated.

Returns:
The name of the bucket in which the new multipart upload was initiated.

setBucketName

public void setBucketName(String bucketName)
Sets the name of the bucket in which the new multipart upload was initiated.

Parameters:
bucketName - The name of the bucket in which the new multipart upload was initiated.

getKey

public String getKey()
Returns the object key for which the multipart upload was initiated.

Returns:
The object key for which the multipart upload was initiated.

setKey

public void setKey(String key)
Sets the object key for which the multipart upload was initiated.

Parameters:
key - The object key for which the multipart upload was initiated.

getUploadId

public String getUploadId()
Returns the initiated multipart upload ID.

Returns:
the initiated multipart upload ID.

setUploadId

public void setUploadId(String uploadId)
Sets the initiated multipart upload ID.

Parameters:
uploadId - The initiated multipart upload ID.

getServerSideEncryption

public String getServerSideEncryption()
Returns the server-side encryption algorithm for the newly created object, or null if none was used.

Specified by:
getServerSideEncryption in interface com.amazonaws.services.s3.internal.ServerSideEncryptionResult

setServerSideEncryption

public void setServerSideEncryption(String serverSideEncryption)
Sets the server-side encryption algorithm for the newly created object.

Specified by:
setServerSideEncryption in interface com.amazonaws.services.s3.internal.ServerSideEncryptionResult
Parameters:
serverSideEncryption - The server-side encryption algorithm for the new object.


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