## 接口 com.aliyun.oss.OSS
的使用

- 使用OSS的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |

- - ### com.aliyun.oss中OSS的使用

    实现OSS的com.aliyun.oss中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `OSSClient` The entry point class of OSS that implements the OSS interface.
    `class` | `OSSEncryptionClient` OSSEncryptionClient is used to do client-side encryption.

    返回OSS的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `OSS` | OSSClientBuilder.`build(String endpoint, CredentialsProvider credsProvider)`
    `OSS` | OSSBuilder.`build(String endpoint, CredentialsProvider credsProvider)` Uses the specified `CredentialsProvider` and OSS Endpoint to create a new `OSSClient` instance.
    `OSS` | OSSClientBuilder.`build(String endpoint, CredentialsProvider credsProvider, ClientBuilderConfiguration config)`
    `OSS` | OSSBuilder.`build(String endpoint, CredentialsProvider credsProvider, ClientBuilderConfiguration config)` Uses the specified `CredentialsProvider`, client configuration and OSS endpoint to create a new `OSSClient` instance.
    `OSS` | OSSClientBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey)`
    `OSS` | OSSBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey)` Uses the specified OSS Endpoint and Access Id/Access Key to create a new `OSSClient` instance.
    `OSS` | OSSClientBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, ClientBuilderConfiguration config)`
    `OSS` | OSSBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, ClientBuilderConfiguration config)` Uses a specified OSS Endpoint, Access Id, Access Key, Client side configuration to create a `OSSClient` instance.
    `OSS` | OSSClientBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, String securityToken)`
    `OSS` | OSSBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, String securityToken)` Uses the specified OSS Endpoint, a security token from AliCloud STS and Access Id/Access Key to create a new `OSSClient` instance.
    `OSS` | OSSClientBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, String securityToken, ClientBuilderConfiguration config)`
    `OSS` | OSSBuilder.`build(String endpoint, String accessKeyId, String secretAccessKey, String securityToken, ClientBuilderConfiguration 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.

Copyright © 2020. All Rights Reserved.