com.amazonaws.services.s3.model
Class CompleteMultipartUploadResult

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

public class CompleteMultipartUploadResult
extends java.lang.Object
implements com.amazonaws.services.s3.internal.ServerSideEncryptionResult

The CompleteMultipartUploadResult contains all the information about the CompleteMultipartUpload method.


Constructor Summary
CompleteMultipartUploadResult()
           
 
Method Summary
 java.lang.String getBucketName()
          Returns the name of the bucket containing the completed multipart object.
 java.lang.String getETag()
          Returns the entity tag identifying the new object.
 java.lang.String getKey()
          Gets the key by which the newly created object is stored.
 java.lang.String getLocation()
          Returns the URL identifying the new multipart object.
 java.lang.String getServerSideEncryption()
          Returns the server-side encryption algorithm for the newly created object, or null if none was used.
 java.lang.String getVersionId()
          Returns the version ID of the new object, only present if versioning has been enabled for the bucket.
 void setBucketName(java.lang.String bucketName)
          Sets the name of the bucket containing the completed multipart object.
 void setETag(java.lang.String etag)
          Sets the entity tag identifying the new object.
 void setKey(java.lang.String key)
          Sets the key of the newly created object.
 void setLocation(java.lang.String location)
          Sets the URL identifying the new multipart object.
 void setServerSideEncryption(java.lang.String serverSideEncryption)
          Sets the server-side encryption algorithm for the newly created object.
 void setVersionId(java.lang.String versionId)
          Sets the version ID of the new object, only present if versioning has been enabled for the bucket.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompleteMultipartUploadResult

public CompleteMultipartUploadResult()
Method Detail

getLocation

public java.lang.String getLocation()
Returns the URL identifying the new multipart object.

Returns:
The URL identifying the new multipart object.

setLocation

public void setLocation(java.lang.String location)
Sets the URL identifying the new multipart object.

Parameters:
location - The URL identifying the new multipart object.

getBucketName

public java.lang.String getBucketName()
Returns the name of the bucket containing the completed multipart object.

Returns:
The name of the bucket containing the completed multipart object.

setBucketName

public void setBucketName(java.lang.String bucketName)
Sets the name of the bucket containing the completed multipart object.

Parameters:
bucketName - The name of the bucket containing the completed multipart object.

getKey

public java.lang.String getKey()
Gets the key by which the newly created object is stored.


setKey

public void setKey(java.lang.String key)
Sets the key of the newly created object.


getETag

public java.lang.String getETag()
Returns the entity tag identifying the new object. An entity tag is an opaque string that changes if and only if an object's data changes.

Returns:
An opaque string that changes if and only if an object's data changes.

setETag

public void setETag(java.lang.String etag)
Sets the entity tag identifying the new object. An entity tag is an opaque string that changes if and only if an object's data changes.

Parameters:
etag - The entity tag.

getVersionId

public java.lang.String getVersionId()
Returns the version ID of the new object, only present if versioning has been enabled for the bucket.

Returns:
The version ID of the new object, only present if versioning has been enabled for the bucket.

setVersionId

public void setVersionId(java.lang.String versionId)
Sets the version ID of the new object, only present if versioning has been enabled for the bucket.

Parameters:
versionId - The version ID of the new object, only present if versioning has been enabled for the bucket.

getServerSideEncryption

public java.lang.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(java.lang.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.