Class B2CreateBucketRequest.Builder
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CreateBucketRequest.Builder
-
- Enclosing class:
- B2CreateBucketRequest
public static class B2CreateBucketRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2CreateBucketRequest
build()
B2CreateBucketRequest.Builder
setBucketInfo(java.util.Map<java.lang.String,java.lang.String> bucketInfo)
B2CreateBucketRequest.Builder
setCorsRules(java.util.List<B2CorsRule> corsRules)
B2CreateBucketRequest.Builder
setDefaultServerSideEncryption(B2BucketServerSideEncryption defaultServerSideEncryption)
B2CreateBucketRequest.Builder
setFileLockEnabled(boolean fileLockEnabled)
B2CreateBucketRequest.Builder
setLifecycleRules(java.util.List<B2LifecycleRule> lifecycleRules)
B2CreateBucketRequest.Builder
setReplicationConfiguration(B2BucketReplicationConfiguration replicationConfiguration)
-
-
-
Method Detail
-
setBucketInfo
public B2CreateBucketRequest.Builder setBucketInfo(java.util.Map<java.lang.String,java.lang.String> bucketInfo)
-
setCorsRules
public B2CreateBucketRequest.Builder setCorsRules(java.util.List<B2CorsRule> corsRules)
-
setLifecycleRules
public B2CreateBucketRequest.Builder setLifecycleRules(java.util.List<B2LifecycleRule> lifecycleRules)
-
setFileLockEnabled
public B2CreateBucketRequest.Builder setFileLockEnabled(boolean fileLockEnabled)
-
setDefaultServerSideEncryption
public B2CreateBucketRequest.Builder setDefaultServerSideEncryption(B2BucketServerSideEncryption defaultServerSideEncryption)
-
setReplicationConfiguration
public B2CreateBucketRequest.Builder setReplicationConfiguration(B2BucketReplicationConfiguration replicationConfiguration)
-
build
public B2CreateBucketRequest build()
-
-