public interface TOSV2Builder
| 限定符和类型 | 方法和说明 |
|---|---|
TOSV2 |
build(String region,
String endpoint,
Credentials credentials)
use the specific TOS region, endpoint, customer credentials.
|
TOSV2 |
build(String region,
String endpoint,
CredentialsProvider credentialsProvider) |
TOSV2 |
build(String region,
String endpoint,
CredentialsProvider credentialsProvider,
TransportConfig conf) |
TOSV2 |
build(String region,
String endpoint,
Credentials credentials,
TransportConfig conf)
use the specific TOS region, endpoint, customer credentials and customer http request configuration
to create a new client instance.
|
TOSV2 |
build(String region,
String endpoint,
String accessKey,
String secretKey)
use the specific TOS region, endpoint, accessKeyId and secretKeyId
to create a new client instance.
|
TOSV2 |
build(String region,
String endpoint,
String accessKey,
String secretKey,
String securityToken)
use the specific TOS region, endpoint, accessKeyId, secretKeyId and security token from STS
to create a new client instance.
|
TOSV2 |
build(String region,
String endpoint,
String accessKey,
String secretKey,
String securityToken,
TransportConfig conf)
use the specific TOS region, endpoint, accessKeyId, secretKeyId and security token from STS
to create a new client instance.
|
TOSV2 |
build(String region,
String endpoint,
String accessKey,
String secretKey,
TransportConfig conf)
use the specific TOS region, endpoint, accessKeyId, secretKeyId and customer client configuration
to create a new client instance.
|
TOSV2 |
build(TOSClientConfiguration conf)
use the specific TOS region, endpoint, customer credentials and customer client configuration.
|
TOSV2 build(String region, String endpoint, String accessKey, String secretKey)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".accessKey - Your account's access key.secretKey - Your account's secret key.TOSV2 build(String region, String endpoint, String accessKey, String secretKey, String securityToken)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".accessKey - Your account's access key.secretKey - Your account's secret key.securityToken - temporally access security token from STS.TOSV2 build(String region, String endpoint, Credentials credentials)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".credentials - implement the Credentials interface to provide accessKey, secretKey and securityToken(optional).TOSV2 build(String region, String endpoint, CredentialsProvider credentialsProvider)
TOSV2 build(String region, String endpoint, String accessKey, String secretKey, TransportConfig conf)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".accessKey - Your account's access key.secretKey - Your account's secret key.conf - Customer http request configuration.TOSV2 build(String region, String endpoint, Credentials credentials, TransportConfig conf)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".credentials - implement the Credentials interface to provide accessKey, secretKey and securityToken(optional).conf - Customer http request configuration.TOSV2 build(String region, String endpoint, CredentialsProvider credentialsProvider, TransportConfig conf)
TOSV2 build(String region, String endpoint, String accessKey, String secretKey, String securityToken, TransportConfig conf)
region - The specific service region, such as "cn-beijing".endpoint - The specific service endpoint, such as "https://tos-cn-beijing.volces.com".accessKey - Your account's access key.secretKey - Your account's secret key.securityToken - temporally access security token from STS.conf - Customer http request configuration.TOSV2 build(TOSClientConfiguration conf)
conf - Customer client configuration.Copyright © 2025. All rights reserved.