com.aliyun.oss

## 类 OSSEncryptionClientBuilder

- java.lang.Object
- - com.aliyun.oss.OSSEncryptionClientBuilder

-     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.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### OSSEncryptionClientBuilder

          public OSSEncryptionClientBuilder()

  - ### 方法详细资料

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  String accessKeyId,
                                  String accessKeySecret,
                                  EncryptionMaterials encryptionMaterials)

      Constructs a instance of `OSSEncryptionClient` using the current builder configuration.
      参数:
        `endpoint` - OSS services Endpoint.
        `accessKeyId` - Access Key ID.
        `secretAccessKey` - Secret Access Key.
      返回:
        an encrytion client. it can put/get/upload object secured.

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  String accessKeyId,
                                  String accessKeySecret,
                                  String securityToken,
                                  EncryptionMaterials encryptionMaterials)

      Constructs a instance of `OSSEncryptionClient` using the current builder configuration.
      参数:
        `endpoint` - OSS services Endpoint.
        `accessKeyId` - Access Id from STS.
        `secretAccessKey` - Access Key from STS
        `securityToken` - Security Token from STS.
      返回:
        an encrytion client. it can put/get/upload object secured.

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  CredentialsProvider credsProvider,
                                  EncryptionMaterials encryptionMaterials)

      Constructs a instance of `OSSEncryptionClient` using the current builder configuration.
      参数:
        `endpoint` - OSS services Endpoint.
        `credsProvider` - Credentials provider which has access key Id and access Key secret.
      返回:
        an encrytion client. it can put/get/upload object secured.

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  CredentialsProvider credsProvider,
                                  EncryptionMaterials encryptionMaterials,
                                  ClientBuilderConfiguration clientConfig)

      Constructs a instance of `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.
      返回:
        an encrytion client. it can put/get/upload object secured.

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  CredentialsProvider credsProvider,
                                  EncryptionMaterials encryptionMaterials,
                                  CryptoConfiguration cryptoConfig)

      Construct a synchronous implementation of 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.
        `cryptoConfig` - data crypto configuration.
      返回:
        an encrytion client. it can put/get/upload object secured.

    - #### build

          public OSSEncryptionClient build(String endpoint,
                                  CredentialsProvider credsProvider,
                                  EncryptionMaterials encryptionMaterials,
                                  ClientBuilderConfiguration clientConfig,
                                  CryptoConfiguration cryptoConfig)

      Construct a synchronous implementation of 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.
        `cryptoConfig` - data crypto configuration.
      返回:
        an encrytion client. it can put/get/upload object secured.

Copyright © 2020. All Rights Reserved.