Class 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)
    • Method Detail

      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • builder

        public static B2ClientConfig.Builder builder​(java.lang.String applicationKeyId,
                                                     java.lang.String applicationKey,
                                                     java.lang.String userAgent)