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.ObjectExpirationResult, com.amazonaws.services.s3.internal.ServerSideEncryptionResult

public class CompleteMultipartUploadResult
extends Object
implements com.amazonaws.services.s3.internal.ServerSideEncryptionResult, com.amazonaws.services.s3.internal.ObjectExpirationResult

The CompleteMultipartUploadResult contains all the information about the CompleteMultipartUpload method.


Constructor Summary
CompleteMultipartUploadResult()
           
 
Method Summary
 String getBucketName()
          Returns the name of the bucket containing the completed multipart object.
 String getETag()
          Returns the entity tag identifying the new object.
 Date getExpirationTime()
          Returns the expiration time for this object, or null if it doesn't expire.
 String getExpirationTimeRuleId()
          Returns the BucketLifecycleConfiguration rule ID for this object's expiration, or null if it doesn't expire.
 String getKey()
          Gets the key by which the newly created object is stored.
 String getLocation()
          Returns the URL identifying the new multipart object.
 String getServerSideEncryption()
          Returns the server-side encryption algorithm for the newly created object, or null if none was used.
 String getVersionId()
          Returns the version ID of the new object, only present if versioning has been enabled for the bucket.
 void setBucketName(String bucketName)
          Sets the name of the bucket containing the completed multipart object.
 void setETag(String etag)
          Sets the entity tag identifying the new object.
 void setExpirationTime(Date expirationTime)
          Sets the expiration time for the object.
 void setExpirationTimeRuleId(String expirationTimeRuleId)
          Sets the BucketLifecycleConfiguration rule ID for this object's expiration
 void setKey(String key)
          Sets the key of the newly created object.
 void setLocation(String location)
          Sets the URL identifying the new multipart object.
 void setServerSideEncryption(String serverSideEncryption)
          Sets the server-side encryption algorithm for the newly created object.
 void setVersionId(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 String getLocation()
Returns the URL identifying the new multipart object.

Returns:
The URL identifying the new multipart object.

setLocation

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

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

getBucketName

public 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(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 String getKey()
Gets the key by which the newly created object is stored.


setKey

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


getETag

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

getExpirationTime

public Date getExpirationTime()
Returns the expiration time for this object, or null if it doesn't expire.

Specified by:
getExpirationTime in interface com.amazonaws.services.s3.internal.ObjectExpirationResult

setExpirationTime

public void setExpirationTime(Date expirationTime)
Sets the expiration time for the object.

Specified by:
setExpirationTime in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
Parameters:
expirationTime - The expiration time for the object.

getExpirationTimeRuleId

public String getExpirationTimeRuleId()
Returns the BucketLifecycleConfiguration rule ID for this object's expiration, or null if it doesn't expire.

Specified by:
getExpirationTimeRuleId in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
See Also:
BucketLifecycleConfiguration.Rule.getId()

setExpirationTimeRuleId

public void setExpirationTimeRuleId(String expirationTimeRuleId)
Sets the BucketLifecycleConfiguration rule ID for this object's expiration

Specified by:
setExpirationTimeRuleId in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
Parameters:
expirationTimeRuleId - The rule ID for this object's expiration


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