Package com.backblaze.b2.client
Class B2ClientConfig
- java.lang.Object
-
- com.backblaze.b2.client.B2ClientConfig
-
public class B2ClientConfig extends java.lang.Object
B2ClientConfig describes the various settings the B2 clients need. * @param executor the executor to use for doing things in parallel (such as uploading large file parts)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
B2ClientConfig.Builder
The Builder for building a B2ClientConfig.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2ClientConfig.Builder
builder(B2AccountAuthorizer accountAuthorizer, java.lang.String userAgent)
static B2ClientConfig.Builder
builder(java.lang.String applicationKeyId, java.lang.String applicationKey, java.lang.String userAgent)
boolean
equals(java.lang.Object o)
B2AccountAuthorizer
getAccountAuthorizer()
java.lang.String
getMasterUrl()
B2TestMode
getTestModeOrNull()
java.lang.String
getUserAgent()
int
hashCode()
boolean
isPartNumberGapsAllowed()
-
-
-
Method Detail
-
getAccountAuthorizer
public B2AccountAuthorizer getAccountAuthorizer()
-
getUserAgent
public java.lang.String getUserAgent()
-
getMasterUrl
public java.lang.String getMasterUrl()
-
getTestModeOrNull
public B2TestMode getTestModeOrNull()
-
isPartNumberGapsAllowed
public boolean isPartNumberGapsAllowed()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
builder
public static B2ClientConfig.Builder builder(B2AccountAuthorizer accountAuthorizer, java.lang.String userAgent)
-
builder
public static B2ClientConfig.Builder builder(java.lang.String applicationKeyId, java.lang.String applicationKey, java.lang.String userAgent)
-
-