Package com.backblaze.b2.client
Class B2ClientConfig.Builder
- java.lang.Object
-
- com.backblaze.b2.client.B2ClientConfig.Builder
-
- Enclosing class:
- B2ClientConfig
public static class B2ClientConfig.Builder extends java.lang.Object
The Builder for building a B2ClientConfig.
-
-
Constructor Summary
Constructors Constructor Description Builder(B2AccountAuthorizer accountAuthorizer, java.lang.String userAgent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2ClientConfig
build()
B2ClientConfig.Builder
setMasterUrl(java.lang.String masterUrl)
B2ClientConfig.Builder
setPartNumberGapsAllowed(boolean partNumberGapsAllowed)
B2ClientConfig.Builder
setTestModeOrNull(B2TestMode testModeOrNull)
-
-
-
Constructor Detail
-
Builder
public Builder(B2AccountAuthorizer accountAuthorizer, java.lang.String userAgent)
-
-
Method Detail
-
setMasterUrl
public B2ClientConfig.Builder setMasterUrl(java.lang.String masterUrl)
-
setTestModeOrNull
public B2ClientConfig.Builder setTestModeOrNull(B2TestMode testModeOrNull)
-
setPartNumberGapsAllowed
public B2ClientConfig.Builder setPartNumberGapsAllowed(boolean partNumberGapsAllowed)
-
build
public B2ClientConfig build()
-
-