Package com.adobe.testing.s3mock.domain
Class Bucket
- java.lang.Object
-
- com.adobe.testing.s3mock.domain.Bucket
-
public class Bucket extends java.lang.ObjectDTO representing a bucket.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCreationDate()java.lang.StringgetName()java.nio.file.PathgetPath()voidsetCreationDate(java.lang.String creationDate)voidsetName(java.lang.String name)voidsetPath(java.nio.file.Path bucketPath)
-
-
-
Constructor Detail
-
Bucket
public Bucket(java.nio.file.Path bucketPath, java.lang.String name, java.lang.String creationDate)Constructs a newBucket.- Parameters:
bucketPath- path of bucketname- of bucketcreationDate- date of creation.
-
-
Method Detail
-
getCreationDate
public java.lang.String getCreationDate()
-
setCreationDate
public void setCreationDate(java.lang.String creationDate)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getPath
public java.nio.file.Path getPath()
-
setPath
public void setPath(java.nio.file.Path bucketPath)
-
-