-
- All Implemented Interfaces:
-
org.http4k.connect.amazon.s3.action.S3BucketAction
public final class CopyKey implements S3BucketAction<Unit>
-
-
Field Summary
Fields Modifier and Type Field Description private final BucketNamesourceBucketprivate final BucketKeysourceprivate final BucketKeydestination
-
Constructor Summary
Constructors Constructor Description CopyKey(BucketName sourceBucket, BucketKey source, BucketKey destination)
-
Method Summary
Modifier and Type Method Description RequesttoRequest(Region region)Result<Unit, RemoteFailure>toResult(Response response)final BucketNamecomponent1()final BucketKeycomponent2()final BucketKeycomponent3()final CopyKeycopy(BucketName sourceBucket, BucketKey source, BucketKey destination)final BucketNamegetSourceBucket()final BucketKeygetSource()final BucketKeygetDestination()-
-
Constructor Detail
-
CopyKey
CopyKey(BucketName sourceBucket, BucketKey source, BucketKey destination)
-
-
Method Detail
-
toRequest
Request toRequest(Region region)
-
component1
final BucketName component1()
-
component2
final BucketKey component2()
-
component3
final BucketKey component3()
-
copy
final CopyKey copy(BucketName sourceBucket, BucketKey source, BucketKey destination)
-
getSourceBucket
final BucketName getSourceBucket()
-
getDestination
final BucketKey getDestination()
-
-
-
-