com.amazonaws.services.s3.model
Class CompleteMultipartUploadResult

java.lang.Object
  extended by com.amazonaws.services.s3.internal.SSEResultBase
      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 com.amazonaws.services.s3.internal.SSEResultBase
implements com.amazonaws.services.s3.internal.ObjectExpirationResult

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.util.Date getExpirationTime()
          Returns the expiration time for this object, or null if it doesn't expire.
 java.lang.String getExpirationTimeRuleId()
          Returns the BucketLifecycleConfiguration rule ID for this object's expiration, or null if it doesn't expire.
 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 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 setExpirationTime(java.util.Date expirationTime)
          Sets the expiration time for the object.
 void setExpirationTimeRuleId(java.lang.String expirationTimeRuleId)
          Sets the BucketLifecycleConfiguration rule ID for this object's expiration
 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 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 com.amazonaws.services.s3.internal.SSEResultBase
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5
 
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.

getExpirationTime

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