package de.jeha.s3srv.storage;

/**
 * @author jenshadlich@googlemail.com
 */
public class S3Bucket {

    private final String name;

    public S3Bucket(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

}

@@ -25,16 +25,43 @@
 orage;%0A%0A
+import java.time.Instant;%0A%0A
 /**%0A * @
@@ -153,16 +153,56 @@
 ng name;
+%0A    private final Instant creationDate;
 %0A%0A    pu
@@ -252,24 +252,67 @@
 ame = name;%0A
+        this.creationDate = Instant.now();%0A
     %7D%0A%0A    p
@@ -364,10 +364,89 @@
 %0A    %7D%0A%0A
+    public Instant getCreationDate() %7B%0A        return creationDate;%0A    %7D%0A    %0A
 %7D%0A

add creation date