Class B2CreateBucketRequest
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CreateBucketRequest
-
public class B2CreateBucketRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
B2CreateBucketRequest.Builder
-
Constructor Summary
Constructors Constructor Description B2CreateBucketRequest(java.lang.String bucketName, java.lang.String bucketType, java.util.Map<java.lang.String,java.lang.String> bucketInfo, java.util.List<B2CorsRule> corsRules, java.util.List<B2LifecycleRule> lifecycleRules, boolean fileLockEnabled, B2BucketServerSideEncryption defaultServerSideEncryption, B2BucketReplicationConfiguration replicationConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2CreateBucketRequest.Builder
builder(java.lang.String bucketName, java.lang.String bucketType)
java.util.Map<java.lang.String,java.lang.String>
getBucketInfo()
java.lang.String
getBucketName()
java.lang.String
getBucketType()
java.util.List<B2CorsRule>
getCorsRules()
B2BucketServerSideEncryption
getDefaultServerSideEncryption()
java.util.List<B2LifecycleRule>
getLifecycleRules()
B2BucketReplicationConfiguration
getReplicationConfiguration()
boolean
isFileLockEnabled()
-
-
-
Constructor Detail
-
B2CreateBucketRequest
public B2CreateBucketRequest(java.lang.String bucketName, java.lang.String bucketType, java.util.Map<java.lang.String,java.lang.String> bucketInfo, java.util.List<B2CorsRule> corsRules, java.util.List<B2LifecycleRule> lifecycleRules, boolean fileLockEnabled, B2BucketServerSideEncryption defaultServerSideEncryption, B2BucketReplicationConfiguration replicationConfiguration)
-
-
Method Detail
-
getBucketName
public java.lang.String getBucketName()
-
getBucketType
public java.lang.String getBucketType()
-
getBucketInfo
public java.util.Map<java.lang.String,java.lang.String> getBucketInfo()
-
getCorsRules
public java.util.List<B2CorsRule> getCorsRules()
-
getLifecycleRules
public java.util.List<B2LifecycleRule> getLifecycleRules()
-
isFileLockEnabled
public boolean isFileLockEnabled()
-
getDefaultServerSideEncryption
public B2BucketServerSideEncryption getDefaultServerSideEncryption()
-
getReplicationConfiguration
public B2BucketReplicationConfiguration getReplicationConfiguration()
-
builder
public static B2CreateBucketRequest.Builder builder(java.lang.String bucketName, java.lang.String bucketType)
-
-