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()
CopyResult.setSourceBucketName(String sourceBucketName)
public void setSourceBucketName(String sourceBucketName)
sourceBucketName
- The name of the bucket containing the source object to be
copied.CopyResult.getSourceBucketName()
public String getSourceKey()
CopyResult.setSourceKey(String sourceKey)
public void setSourceKey(String sourceKey)
sourceKey
- The source bucket key under which the source object to be
copied is stored.CopyResult.setSourceKey(String sourceKey)
public String getDestinationBucketName()
CopyResult.setDestinationBucketName(String destinationBucketName)
public void setDestinationBucketName(String destinationBucketName)
destinationBucketName
- The name of the destination bucket which will contain the new,
copied object.CopyResult.getDestinationBucketName()
public String getDestinationKey()
CopyResult.setDestinationKey(String destinationKey)
public void setDestinationKey(String destinationKey)
destinationKey
- The destination bucket key under which the new, copied object
will be stored.CopyResult.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 © 2024. All rights reserved.