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