public class OSSEncryptionClientBuilder extends Object
| 构造器和说明 |
|---|
OSSEncryptionClientBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
OSSEncryptionClient |
build(String endpoint,
CredentialsProvider credsProvider,
EncryptionMaterials encryptionMaterials)
Constructs a instance of
OSSEncryptionClient using the current builder configuration. |
OSSEncryptionClient |
build(String endpoint,
CredentialsProvider credsProvider,
EncryptionMaterials encryptionMaterials,
ClientBuilderConfiguration clientConfig)
Constructs a instance of
OSSEncryptionClient using the current builder configuration. |
OSSEncryptionClient |
build(String endpoint,
CredentialsProvider credsProvider,
EncryptionMaterials encryptionMaterials,
ClientBuilderConfiguration clientConfig,
CryptoConfiguration cryptoConfig)
Construct a synchronous implementation of OSSEncryptionClient using the current builder configuration.
|
OSSEncryptionClient |
build(String endpoint,
CredentialsProvider credsProvider,
EncryptionMaterials encryptionMaterials,
CryptoConfiguration cryptoConfig)
Construct a synchronous implementation of OSSEncryptionClient using the current builder configuration.
|
OSSEncryptionClient |
build(String endpoint,
String accessKeyId,
String accessKeySecret,
EncryptionMaterials encryptionMaterials)
Constructs a instance of
OSSEncryptionClient using the current builder configuration. |
OSSEncryptionClient |
build(String endpoint,
String accessKeyId,
String accessKeySecret,
String securityToken,
EncryptionMaterials encryptionMaterials)
Constructs a instance of
OSSEncryptionClient using the current builder configuration. |
public OSSEncryptionClient build(String endpoint, String accessKeyId, String accessKeySecret, EncryptionMaterials encryptionMaterials)
OSSEncryptionClient using the current builder configuration.endpoint - OSS services Endpoint.accessKeyId - Access Key ID.secretAccessKey - Secret Access Key.public OSSEncryptionClient build(String endpoint, String accessKeyId, String accessKeySecret, String securityToken, EncryptionMaterials encryptionMaterials)
OSSEncryptionClient using the current builder configuration.endpoint - OSS services Endpoint.accessKeyId - Access Id from STS.secretAccessKey - Access Key from STSsecurityToken - Security Token from STS.public OSSEncryptionClient build(String endpoint, CredentialsProvider credsProvider, EncryptionMaterials encryptionMaterials)
OSSEncryptionClient using the current builder configuration.endpoint - OSS services Endpoint.credsProvider - Credentials provider which has access key Id and access Key
secret.public OSSEncryptionClient build(String endpoint, CredentialsProvider credsProvider, EncryptionMaterials encryptionMaterials, ClientBuilderConfiguration clientConfig)
OSSEncryptionClient using the current builder configuration.endpoint - OSS services Endpoint.credsProvider - Credentials provider which has access key Id and access Key
secret.encryptionMaterials - Encryption materials contains the consumer managed key,
it can be a asymmetric key or a symmetric key.clientConfig - client configuration.public OSSEncryptionClient build(String endpoint, CredentialsProvider credsProvider, EncryptionMaterials encryptionMaterials, CryptoConfiguration cryptoConfig)
endpoint - OSS services Endpoint.credsProvider - Credentials provider which has access key Id and access Key
secret.encryptionMaterials - Encryption materials contains the consumer managed key,
it can be a asymmetric key or a symmetric key.cryptoConfig - data crypto configuration.public OSSEncryptionClient build(String endpoint, CredentialsProvider credsProvider, EncryptionMaterials encryptionMaterials, ClientBuilderConfiguration clientConfig, CryptoConfiguration cryptoConfig)
endpoint - OSS services Endpoint.credsProvider - Credentials provider which has access key Id and access Key
secret.encryptionMaterials - Encryption materials contains the consumer managed key,
it can be a asymmetric key or a symmetric key.clientConfig - client configuration.cryptoConfig - data crypto configuration.Copyright © 2020. All Rights Reserved.