Class Bucket

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

public class Bucket extends Object
  • Constructor Details

    • Bucket

      public Bucket(Path bucketPath, String name, String creationDate)
      Constructs a new Bucket.
      Parameters:
      bucketPath - path of bucket
      name - of bucket
      creationDate - date of creation.
  • Method Details

    • from

      public static Bucket from(BucketMetadata bucketMetadata)
    • getCreationDate

      public String getCreationDate()
    • setCreationDate

      public void setCreationDate(String creationDate)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getPath

      public Path getPath()
    • setPath

      public void setPath(Path bucketPath)