com.amazonaws.services.s3.transfer.model
Class CopyResult

java.lang.Object
  extended by com.amazonaws.services.s3.transfer.model.CopyResult

Deprecated. These classes have been deprecated, please use the classes in the com.amazonaws.mobileconnectors namespace.

public class CopyResult
extends java.lang.Object

Contains information returned by Amazon S3 for a completed copy operation.

See TransferManager for more information about creating transfers.

See Also:
TransferManager.copy(String, String, String, String), TransferManager.copy(com.amazonaws.services.s3.model.CopyObjectRequest)

Constructor Summary
CopyResult()
          Deprecated.  
 
Method Summary
 java.lang.String getDestinationBucketName()
          Deprecated. Gets the destination bucket name which will contain the new, copied object.
 java.lang.String getDestinationKey()
          Deprecated. Gets the destination bucket key under which the new, copied object will be stored.
 java.lang.String getETag()
          Deprecated. Returns the entity tag identifying the new object.
 java.lang.String getSourceBucketName()
          Deprecated. Gets the name of the bucket containing the source object to be copied.
 java.lang.String getSourceKey()
          Deprecated. Gets the source bucket key under which the source object to be copied is stored.
 java.lang.String getVersionId()
          Deprecated. Returns the version ID of the new object.
 void setDestinationBucketName(java.lang.String destinationBucketName)
          Deprecated. Sets the destination bucket name which will contain the new, copied object.
 void setDestinationKey(java.lang.String destinationKey)
          Deprecated. Sets the destination bucket key under which the new, copied object will be stored.
 void setETag(java.lang.String etag)
          Deprecated. Sets the entity tag identifying the new object.
 void setSourceBucketName(java.lang.String sourceBucketName)
          Deprecated. Sets the name of the bucket containing the source object to be copied.
 void setSourceKey(java.lang.String sourceKey)
          Deprecated. Sets the source bucket key under which the source object to be copied is stored.
 void setVersionId(java.lang.String versionId)
          Deprecated. 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

CopyResult

public CopyResult()
Deprecated. 
Method Detail

getSourceBucketName

public java.lang.String getSourceBucketName()
Deprecated. 
Gets the name of the bucket containing the source object to be copied.

Returns:
The name of the bucket containing the source object to be copied.
See Also:
setSourceBucketName(String sourceBucketName)

setSourceBucketName

public void setSourceBucketName(java.lang.String sourceBucketName)
Deprecated. 
Sets the name of the bucket containing the source object to be copied.

Parameters:
sourceBucketName - The name of the bucket containing the source object to be copied.
See Also:
getSourceBucketName()

getSourceKey

public java.lang.String getSourceKey()
Deprecated. 
Gets the source bucket key under which the source object to be copied is stored.

Returns:
The source bucket key under which the source object to be copied is stored.
See Also:
setSourceKey(String sourceKey)

setSourceKey

public void setSourceKey(java.lang.String sourceKey)
Deprecated. 
Sets the source bucket key under which the source object to be copied is stored.

Parameters:
sourceKey - The source bucket key under which the source object to be copied is stored.
See Also:
setSourceKey(String sourceKey)

getDestinationBucketName

public java.lang.String getDestinationBucketName()
Deprecated. 
Gets the destination bucket name which will contain the new, copied object.

Returns:
The name of the destination bucket which will contain the new, copied object.
See Also:
setDestinationBucketName(String destinationBucketName)

setDestinationBucketName

public void setDestinationBucketName(java.lang.String destinationBucketName)
Deprecated. 
Sets the destination bucket name which will contain the new, copied object.

Parameters:
destinationBucketName - The name of the destination bucket which will contain the new, copied object.
See Also:
getDestinationBucketName()

getDestinationKey

public java.lang.String getDestinationKey()
Deprecated. 
Gets the destination bucket key under which the new, copied object will be stored.

Returns:
The destination bucket key under which the new, copied object will be stored.
See Also:
setDestinationKey(String destinationKey)

setDestinationKey

public void setDestinationKey(java.lang.String destinationKey)
Deprecated. 
Sets the destination bucket key under which the new, copied object will be stored.

Parameters:
destinationKey - The destination bucket key under which the new, copied object will be stored.
See Also:
getDestinationKey()

getETag

public java.lang.String getETag()
Deprecated. 
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)
Deprecated. 
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()
Deprecated. 
Returns the version ID of the new object. The version ID is only set if versioning has been enabled for the bucket.

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

setVersionId

public void setVersionId(java.lang.String versionId)
Deprecated. 
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.


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