public abstract class CopyOperationImpl extends ObjectOperationImpl
log
Constructor and Description |
---|
CopyOperationImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract com.amazonaws.services.s3.model.CopyObjectRequest |
createCopyRequest(ClientWrapper wrapper,
AdaptrisMessage msg) |
void |
execute(ClientWrapper wrapper,
AdaptrisMessage msg) |
java.lang.String |
getDestinationBucket()
The destination bucket.
|
java.lang.String |
getDestinationObjectName()
The destination object.
|
void |
setDestinationBucket(java.lang.String destinationBucket)
The destination bucket.
|
void |
setDestinationObjectName(java.lang.String destinationObjectName)
The destination object.
|
<T extends CopyOperationImpl> |
withDestinationBucket(java.lang.String s) |
<T extends CopyOperationImpl> |
withDestinationObjectName(java.lang.String s) |
getObjectName, prepare, s3ObjectKey, setObjectName, withObjectName
getBucket, getBucketName, getKey, mustHaveEither, resolve, s3Bucket, setBucket, setBucketName, setKey, withBucket, withBucketName, withKey
public void execute(ClientWrapper wrapper, AdaptrisMessage msg) throws java.lang.Exception
java.lang.Exception
protected abstract com.amazonaws.services.s3.model.CopyObjectRequest createCopyRequest(ClientWrapper wrapper, AdaptrisMessage msg) throws java.lang.Exception
java.lang.Exception
public <T extends CopyOperationImpl> T withDestinationBucket(java.lang.String s)
public <T extends CopyOperationImpl> T withDestinationObjectName(java.lang.String s)
public java.lang.String getDestinationBucket()
If not explictly configured, then we use the bucket name instead making the assumption it's a copy within the same bucket.
public void setDestinationBucket(java.lang.String destinationBucket)
If not explictly configured, then we use the bucket name instead making the assumption it's a copy within the same bucket.
public java.lang.String getDestinationObjectName()
public void setDestinationObjectName(java.lang.String destinationObjectName)