Class ServiceConfig.B2

java.lang.Object
org.apache.opendal.ServiceConfig.B2
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.B2 extends Object implements ServiceConfig
Configuration for service b2.
  • Field Details

    • bucket

      @NonNull public final @NonNull String bucket

      bucket of this backend.

      required.

    • bucketId

      @NonNull public final @NonNull String bucketId

      bucket id of this backend.

      required.

    • root

      public final String root

      root of this backend.

      All operations will happen under this root.

    • applicationKeyId

      public final String applicationKeyId

      keyID of this backend.

      • If application_key_id is set, we will take user's input first.
      • If not, we will try to load it from environment.
    • applicationKey

      public final String applicationKey

      applicationKey of this backend.

      • If application_key is set, we will take user's input first.
      • If not, we will try to load it from environment.
  • Constructor Details

    • B2

      public B2()
  • Method Details