public class TOSV2ClientBuilder extends Object implements TOSV2Builder
| 构造器和说明 |
|---|
TOSV2ClientBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
TOSV2 |
build(String region,
String endpoint,
Credentials 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)
已过时。
|
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.
|
public TOSV2 build(String region, String endpoint, String accessKey, String secretKey)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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.public TOSV2 build(String region, String endpoint, String accessKey, String secretKey, String securityToken)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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.@Deprecated public TOSV2 build(String region, String endpoint, Credentials credentials)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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).public TOSV2 build(String region, String endpoint, CredentialsProvider credentialsProvider)
build 在接口中 TOSV2Builderpublic TOSV2 build(String region, String endpoint, String accessKey, String secretKey, TransportConfig conf)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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.@Deprecated public TOSV2 build(String region, String endpoint, Credentials credentials, TransportConfig conf)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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.public TOSV2 build(String region, String endpoint, CredentialsProvider credentialsProvider, TransportConfig conf)
build 在接口中 TOSV2Builderpublic TOSV2 build(String region, String endpoint, String accessKey, String secretKey, String securityToken, TransportConfig conf)
TOSV2Builderbuild 在接口中 TOSV2Builderregion - 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.public TOSV2 build(TOSClientConfiguration conf)
TOSV2Builderbuild 在接口中 TOSV2Builderconf - Customer client configuration.Copyright © 2025. All rights reserved.