Class CopySource

java.lang.Object
com.adobe.testing.s3mock.dto.CopySource

public final class CopySource extends Object
Represents a S3 Object referenced by Bucket and Key.
  • Field Details

  • Constructor Details

    • CopySource

      public CopySource(String copySource)
      Creates a CopySource expecting the given String represents the source as /{bucket}/{key}.
      Parameters:
      copySource - The object references.
      Throws:
      IllegalArgumentException - If copySource could not be parsed.
      NullPointerException - If copySource is null.
  • Method Details

    • getBucket

      public String getBucket()
    • getKey

      public String getKey()