Class ServiceConfig.AliyunDrive

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

public static class ServiceConfig.AliyunDrive extends Object implements ServiceConfig
Configuration for service aliyun_drive.
  • Field Details

    • driveType

      @NonNull public final @NonNull String driveType

      The drive_type of this backend.

      All operations will happen under this type of drive.

      Available values are default, backup and resource.

      Fallback to default if not set or no other drives can be found.

    • root

      public final String root

      The Root of this backend.

      All operations will happen under this root.

      Default to / if not set.

    • accessToken

      public final String accessToken

      The access_token of this backend.

      Solution for client-only purpose. #4733

      Required if no client_id, client_secret and refresh_token are provided.

    • clientId

      public final String clientId

      The client_id of this backend.

      Required if no access_token is provided.

    • clientSecret

      public final String clientSecret

      The client_secret of this backend.

      Required if no access_token is provided.

    • refreshToken

      public final String refreshToken

      The refresh_token of this backend.

      Required if no access_token is provided.

  • Constructor Details

    • AliyunDrive

      public AliyunDrive()
  • Method Details