|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.transfer.model.CopyResult
public class CopyResult
Contains information returned by Amazon S3 for a completed copy operation.
See TransferManager
for more information about creating transfers.
TransferManager.copy(String, String, String, String)
,
TransferManager.copy(com.amazonaws.services.s3.model.CopyObjectRequest)
Constructor Summary | |
---|---|
CopyResult()
|
Method Summary | |
---|---|
String |
getDestinationBucketName()
Gets the destination bucket name which will contain the new, copied object. |
String |
getDestinationKey()
Gets the destination bucket key under which the new, copied object will be stored. |
String |
getETag()
Returns the entity tag identifying the new object. |
String |
getSourceBucketName()
Gets the name of the bucket containing the source object to be copied. |
String |
getSourceKey()
Gets the source bucket key under which the source object to be copied is stored. |
String |
getVersionId()
Returns the version ID of the new object. |
void |
setDestinationBucketName(String destinationBucketName)
Sets the destination bucket name which will contain the new, copied object. |
void |
setDestinationKey(String destinationKey)
Sets the destination bucket key under which the new, copied object will be stored. |
void |
setETag(String etag)
Sets the entity tag identifying the new object. |
void |
setSourceBucketName(String sourceBucketName)
Sets the name of the bucket containing the source object to be copied. |
void |
setSourceKey(String sourceKey)
Sets the source bucket key under which the source object to be copied is stored. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyResult()
Method Detail |
---|
public String getSourceBucketName()
setSourceBucketName(String sourceBucketName)
public void setSourceBucketName(String sourceBucketName)
sourceBucketName
- The name of the bucket containing the source object to be
copied.getSourceBucketName()
public String getSourceKey()
setSourceKey(String sourceKey)
public void setSourceKey(String sourceKey)
sourceKey
- The source bucket key under which the source object to be
copied is stored.setSourceKey(String sourceKey)
public String getDestinationBucketName()
setDestinationBucketName(String destinationBucketName)
public void setDestinationBucketName(String destinationBucketName)
destinationBucketName
- The name of the destination bucket which will contain the new,
copied object.getDestinationBucketName()
public String getDestinationKey()
setDestinationKey(String destinationKey)
public void setDestinationKey(String destinationKey)
destinationKey
- The destination bucket key under which the new, copied object
will be stored.getDestinationKey()
public String getETag()
public void setETag(String etag)
etag
- The entity tag.public String getVersionId()
public void setVersionId(String versionId)
versionId
- The version ID of the new object, only present if versioning
has been enabled for the bucket.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |