Class ServiceConfig.Oss
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
ServiceConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface 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.Foyer, ServiceConfig.Fs, ServiceConfig.Gcs, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Goosefs, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Hf, ServiceConfig.Http, 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.Tos, 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 BooleanDeprecated.Please use `skip_signature` instead of `allow_anonymous`final LongDeprecated.OSS delete batch capability is enabled by default.final @NonNull StringBucket for oss.final LongDeprecated.OSS delete batch capability is enabled by default.final BooleanDeprecated.OSS versioning capability is enabled by default and this option is no longer needed.final StringEndpoint for oss.final Stringexternal_id for this backend.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 BooleanSkip signature will skip loading credentials and signing requests.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
Deprecated.Please use `skip_signature` instead of `allow_anonymous`Allow anonymous for oss.
-
batchMaxOperations
Deprecated.OSS delete batch capability is enabled by default. Use CapabilityOverrideLayer to override delete_max_size for specific endpoints.Deprecated: OSS delete batch capability is enabled by default.
-
bucket
Bucket for oss.
-
deleteMaxSize
Deprecated.OSS delete batch capability is enabled by default. Use CapabilityOverrideLayer to override delete_max_size for specific endpoints.Deprecated: OSS delete batch capability is enabled by default.
-
enableVersioning
Deprecated.OSS versioning capability is enabled by default and this option is no longer needed.Deprecated: OSS versioning capability is enabled by default.
-
endpoint
Endpoint for oss.
-
externalId
external_id for this backend.
-
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.
-
skipSignature
Skip signature will skip loading credentials and signing requests.
-
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
-