com.amazonaws.services.s3.model
Class InitiateMultipartUploadResult

java.lang.Object
  extended by SSEResultBase
      extended by com.amazonaws.services.s3.model.InitiateMultipartUploadResult

public class InitiateMultipartUploadResult
extends SSEResultBase

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
 java.lang.String getBucketName()
          Returns the name of the bucket in which the new multipart upload was initiated.
 java.lang.String getKey()
          Returns the object key for which the multipart upload was initiated.
 java.lang.String getUploadId()
          Returns the initiated multipart upload ID.
 void setBucketName(java.lang.String bucketName)
          Sets the name of the bucket in which the new multipart upload was initiated.
 void setKey(java.lang.String key)
          Sets the object key for which the multipart upload was initiated.
 void setUploadId(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String getUploadId()
Returns the initiated multipart upload ID.

Returns:
the initiated multipart upload ID.

setUploadId

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

Parameters:
uploadId - The initiated multipart upload ID.


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