程序包 | 说明 |
---|---|
com.aliyun.oss | |
com.aliyun.oss.common.comm |
限定符和类型 | 方法和说明 |
---|---|
ClientConfiguration |
OSSClient.getClientConfiguration() |
ClientConfiguration |
ClientConfiguration.setSLDEnabled(boolean enabled)
Sets the flag of using SLD (Second Level Domain) style to access the endpoint.
|
ClientConfiguration |
ClientConfiguration.setSupportCname(boolean supportCname)
Sets the flag if supporting Cname in the endpoint.
|
构造器和说明 |
---|
OSSClient(String endpoint,
CredentialsProvider credsProvider,
ClientConfiguration config)
Uses the specified
CredentialsProvider , client configuration and OSS endpoint to create a new
OSSClient instance. |
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey,
ClientConfiguration config)
Uses a specified OSS Endpoint、Access Id, Access Key、Client side configuration to create a
OSSClient
instance. |
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey,
String securityToken,
ClientConfiguration config)
Uses specified OSS Endpoint, the temporary (Access Id/Access Key/Security Token) from STS and the client
configuration to create a new
OSSClient instance. |
限定符和类型 | 字段和说明 |
---|---|
protected ClientConfiguration |
ServiceClient.config |
限定符和类型 | 方法和说明 |
---|---|
ClientConfiguration |
ServiceClient.getClientConfiguration() |
构造器和说明 |
---|
DefaultServiceClient(ClientConfiguration config) |
ServiceClient(ClientConfiguration config) |
TimeoutServiceClient(ClientConfiguration config) |
Copyright © 2017. All Rights Reserved.