Package com.adobe.testing.s3mock.s3.dto
Class CopySource
-
- All Implemented Interfaces:
public final class CopySourceRepresents a S3 Object referenced by Bucket and Key.
-
-
Constructor Summary
Constructors Constructor Description CopySource(String bucket, String key, String versionId)
-
Method Summary
Modifier and Type Method Description final StringgetBucket()final StringgetKey()final StringgetVersionId()final static CopySourcefrom(String copySource)Creates a CopySource expecting the given String to represent the source as /{bucket}/{key}[?versionId={versionId}].-
-
Method Detail
-
getVersionId
final String getVersionId()
-
from
final static CopySource from(String copySource)
Creates a CopySource expecting the given String to represent the source as
/{bucket}/{key}[?versionId={versionId}]. We need to decode here because Spring does not do the decoding for RequestHeaders as it does for path parameters.- Parameters:
copySource- The object references.
-
-
-
-