Class CopySource

  • All Implemented Interfaces:

    
    public final class CopySource
    
                        

    Represents a S3 Object referenced by Bucket and Key.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getBucket()
      final String getKey()
      final String getVersionId()
      final static CopySource from(String copySource) Creates a CopySource expecting the given String to represent the source as /{bucket}/{key}[?versionId={versionId}].
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.