Package org.apache.opendal
Class ServiceConfig.Oss
java.lang.Object
org.apache.opendal.ServiceConfig.Oss
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
- ServiceConfig
Configuration for service oss.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.opendal.ServiceConfig
ServiceConfig.AliyunDrive, ServiceConfig.Alluxio, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.Cacache, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Fs, ServiceConfig.Gcs, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Http, ServiceConfig.Huggingface, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.Obs, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.S3, ServiceConfig.Seafile, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Sqlite, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Webdav, ServiceConfig.Webhdfs, ServiceConfig.YandexDisk -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringAccess key id for oss.final StringAccess key secret for oss.final StringAddressing style for oss.final BooleanAllow anonymous for oss.final LongDeprecated.Please use `delete_max_size` instead of `batch_max_operations`final @NonNull StringBucket for oss.final LongThe size of max delete operations.final Booleanis bucket versioning enabled for this bucketfinal StringEndpoint for oss.final Stringoidc_provider_arnwill be loaded fromfinal Stringoidc_token_filewill be loaded fromfinal StringPre sign addressing style for oss.final StringPresign endpoint for oss.final StringIfrole_arnis set, we will use already known config as source credential to assume role withrole_arn.final Stringrole_session_name for this backend.final StringRoot for oss.final Stringsecurity_tokenwill be loaded fromfinal StringServer side encryption for oss.final StringServer side encryption key id for oss.final Stringsts_endpointwill be loaded from -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
accessKeyId
Access key id for oss.
- this field if it's
is_some - env value: [
ALIBABA_CLOUD_ACCESS_KEY_ID]
- this field if it's
-
accessKeySecret
Access key secret for oss.
- this field if it's
is_some - env value: [
ALIBABA_CLOUD_ACCESS_KEY_SECRET]
- this field if it's
-
addressingStyle
Addressing style for oss.
-
allowAnonymous
Allow anonymous for oss.
-
batchMaxOperations
Deprecated.Please use `delete_max_size` instead of `batch_max_operations`The size of max batch operations.
-
bucket
Bucket for oss.
-
deleteMaxSize
The size of max delete operations.
-
enableVersioning
is bucket versioning enabled for this bucket
-
endpoint
Endpoint for oss.
-
oidcProviderArn
oidc_provider_arnwill be loaded from- this field if it's
is_some - env value: [
ALIBABA_CLOUD_OIDC_PROVIDER_ARN]
- this field if it's
-
oidcTokenFile
oidc_token_filewill be loaded from- this field if it's
is_some - env value: [
ALIBABA_CLOUD_OIDC_TOKEN_FILE]
- this field if it's
-
presignAddressingStyle
Pre sign addressing style for oss.
-
presignEndpoint
Presign endpoint for oss.
-
roleArn
If
role_arnis set, we will use already known config as source credential to assume role withrole_arn.- this field if it's
is_some - env value: [
ALIBABA_CLOUD_ROLE_ARN]
- this field if it's
-
roleSessionName
role_session_name for this backend.
-
root
Root for oss.
-
securityToken
security_tokenwill be loaded from- this field if it's
is_some - env value: [
ALIBABA_CLOUD_SECURITY_TOKEN]
- this field if it's
-
serverSideEncryption
Server side encryption for oss.
-
serverSideEncryptionKeyId
Server side encryption key id for oss.
-
stsEndpoint
sts_endpointwill be loaded from- this field if it's
is_some - env value: [
ALIBABA_CLOUD_STS_ENDPOINT]
- this field if it's
-
-
Constructor Details
-
Oss
public Oss()
-
-
Method Details
-
scheme
Description copied from interface:ServiceConfigThe scheme of the service.- Specified by:
schemein interfaceServiceConfig- Returns:
- the scheme
-
configMap
Description copied from interface:ServiceConfigConvert the structured config to a type erased config map.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-