public class CopyResult extends Object
See TransferManager
for more information about creating transfers.
Constructor and Description |
---|
CopyResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2018. All rights reserved.