Builder class for java api.
Create a file-based s3mock instance
port to bind to
directory to mount as a collection of buckets. First-level directories will be treated as buckets, their contents - as keys.
Create an in-memory s3mock instance
a port to bind to.
(Since version ) see corresponding Javadoc for more information.