Class ServiceConfig.Oss

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

public static class ServiceConfig.Oss extends Object implements ServiceConfig
Configuration for service oss.
  • Field Details

    • bucket

      @NonNull public final @NonNull String bucket

      Bucket for oss.

    • root

      public final String root

      Root for oss.

    • endpoint

      public final String endpoint

      Endpoint for oss.

    • presignEndpoint

      public final String presignEndpoint

      Presign endpoint for oss.

    • enableVersioning

      public final Boolean enableVersioning

      is bucket versioning enabled for this bucket

    • serverSideEncryption

      public final String serverSideEncryption

      Server side encryption for oss.

    • serverSideEncryptionKeyId

      public final String serverSideEncryptionKeyId

      Server side encryption key id for oss.

    • allowAnonymous

      public final Boolean allowAnonymous

      Allow anonymous for oss.

    • accessKeyId

      public final String accessKeyId

      Access key id for oss.

    • accessKeySecret

      public final String accessKeySecret

      Access key secret for oss.

    • batchMaxOperations

      public final Long batchMaxOperations
      Deprecated.
      Please use `delete_max_size` instead of `batch_max_operations`

      The size of max batch operations.

    • deleteMaxSize

      public final Long deleteMaxSize

      The size of max delete operations.

    • roleArn

      public final String roleArn

      If role_arn is set, we will use already known config as source credential to assume role with role_arn.

    • roleSessionName

      public final String roleSessionName

      role_session_name for this backend.

    • oidcProviderArn

      public final String oidcProviderArn

      oidc_provider_arn will be loaded from

      • this field if it's is_some
      • env value: [ALIBABA_CLOUD_OIDC_PROVIDER_ARN]
    • oidcTokenFile

      public final String oidcTokenFile

      oidc_token_file will be loaded from

      • this field if it's is_some
      • env value: [ALIBABA_CLOUD_OIDC_TOKEN_FILE]
    • stsEndpoint

      public final String stsEndpoint

      sts_endpoint will be loaded from

      • this field if it's is_some
      • env value: [ALIBABA_CLOUD_STS_ENDPOINT]
  • Constructor Details

    • Oss

      public Oss()
  • Method Details