Package com.exasol.config
Class BucketConfiguration
- java.lang.Object
-
- com.exasol.config.BucketConfiguration
-
public class BucketConfiguration extends Object
Configuration parameters of a bucket in BucketFS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBucketConfiguration.BuilderBuilder forBucketConfigurationinstances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketConfiguration.Builderbuilder()Get a builder for aBucketConfiguration.BucketFsServiceConfigurationgetBucketFsServiceConfiguration()Get the configuration of the parent BucketFS service.StringgetName()Get the name of the bucket.StringgetReadPassword()Get the bucket read password.StringgetWritePassword()Get the bucket write password.booleanisPubliclyReadable()Check whether the bucket is publicly readable.
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the bucket.- Returns:
- bucket name
-
getReadPassword
public String getReadPassword()
Get the bucket read password.- Returns:
- read password
-
getWritePassword
public String getWritePassword()
Get the bucket write password.- Returns:
- write password
-
builder
public static BucketConfiguration.Builder builder()
Get a builder for aBucketConfiguration.- Returns:
- builder
-
isPubliclyReadable
public boolean isPubliclyReadable()
Check whether the bucket is publicly readable.- Returns:
trueif the bucket contents can be read without password
-
getBucketFsServiceConfiguration
public BucketFsServiceConfiguration getBucketFsServiceConfiguration()
Get the configuration of the parent BucketFS service.- Returns:
- service configuration
-
-