com.aliyun.oss

## 接口 OSS

- 所有已知实现类:
    OSSClient, OSSEncryptionClient

      public interface OSS

  Entry point interface of Alibaba Cloud's OSS (Object Store Service)

  Object Store Service (a.k.a OSS) is the massive, secure, low cost and highly reliable public storage which could be accessed from anywhere at anytime via REST APIs, SDKs or web console.
  Developers could use OSS to create any services that need huge data storage and access throughput, such as media sharing web apps, cloud storage service or enterprise or personal data backup.

- - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `abortMultipartUpload(AbortMultipartUploadRequest request)` Abort a multiple parts upload.
    `void` | `addBucketCname(AddBucketCnameRequest addBucketCnameRequest)` Adds a Cname for the `Bucket` instance.
    `void` | `addBucketReplication(AddBucketReplicationRequest addBucketReplicationRequest)` Adds a `Bucket`'s cross-region replication rule.
    `AppendObjectResult` | `appendObject(AppendObjectRequest appendObjectRequest)` Append the data to the appendable object specified in `AppendObjectRequest`.
    `String` | `calculatePostSignature(String postPolicy)` Calculates the signature based on the policy and access key secret.
    `CompleteMultipartUploadResult` | `completeMultipartUpload(CompleteMultipartUploadRequest request)` Complete a multiple parts upload.
    `CopyObjectResult` | `copyObject(CopyObjectRequest copyObjectRequest)` Copies an existing file in OSS from source bucket to the target bucket.
    `CopyObjectResult` | `copyObject(String sourceBucketName, String sourceKey, String destinationBucketName, String destinationKey)` Copies an existing file in OSS from source bucket to the target bucket.
    `Bucket` | `createBucket(CreateBucketRequest createBucketRequest)` Creates a `Bucket` instance with specified CreateBucketRequest information.
    `Bucket` | `createBucket(String bucketName)` Creates `Bucket` instance.
    `void` | `createBucketVpcip(CreateBucketVpcipRequest createBucketVpcipRequest)` Bind a Vpcip to a bucket.
    `CreateLiveChannelResult` | `createLiveChannel(CreateLiveChannelRequest createLiveChannelRequest)` Creates a live streaming channel.
    `SelectObjectMetadata` | `createSelectObjectMetadata(CreateSelectObjectMetadataRequest createSelectObjectMetadataRequest)` Create select object metadata(create metadata if not exists or overwrite flag set in `CreateSelectObjectMetadataRequest`)
    `void` | `createSymlink(CreateSymlinkRequest createSymlinkRequest)` Creates a symbol link to a target file under the bucket---this is not supported for archive class bucket.
    `void` | `createSymlink(String bucketName, String symlink, String target)` Creates a symlink link to a target file under the bucket---this is not supported for archive class bucket.
    `void` | `createUdf(CreateUdfRequest createUdfRequest)` Creates UDF
    `void` | `createUdfApplication(CreateUdfApplicationRequest createUdfApplicationRequest)`
    `CreateVpcipResult` | `createVpcip(CreateVpcipRequest createVpcipRequest)` Creates a vpcip tunnel `Vpcip`.
    `void` | `deleteBucket(GenericRequest genericRequest)` Deletes the `Bucket` instance.
    `void` | `deleteBucket(String bucketName)` Deletes the `Bucket` instance.
    `void` | `deleteBucketCname(DeleteBucketCnameRequest deleteBucketCnameRequest)` Deletes one `Bucket`'s specific Cname specified by the parameter domain.
    `void` | `deleteBucketCname(String bucketName, String domain)` Deletes one `Bucket`'s Cname specified by the parameter domain.
    `void` | `deleteBucketCORSRules(GenericRequest genericRequest)` Deletes all CORS rules under the bucket.
    `void` | `deleteBucketCORSRules(String bucketName)` Deletes all CORS rules under the bucket.
    `void` | `deleteBucketEncryption(GenericRequest genericRequest)` Deletes the server-side encryption configuration from the bucket.
    `void` | `deleteBucketEncryption(String bucketName)` Deletes the server-side encryption configuration from the bucket.
    `void` | `deleteBucketImage(String bucketName)` Deletes the image processing attributes on the specific `Bucket`.
    `void` | `deleteBucketImage(String bucketName, GenericRequest genericRequest)` Deletes the image processing attributes on the specific `Bucket`.
    `void` | `deleteBucketInventoryConfiguration(DeleteBucketInventoryConfigurationRequest deleteBucketInventoryConfigurationRequest)` Deletes an inventory configuration of the bucket.
    `void` | `deleteBucketInventoryConfiguration(String bucketName, String id)` Deletes an inventory configuration of the bucket.
    `void` | `deleteBucketLifecycle(GenericRequest genericRequest)` Deletes all the `Bucket`'s Lifecycle rules.
    `void` | `deleteBucketLifecycle(String bucketName)` Deletes all the `Bucket`'s Lifecycle rules.
    `void` | `deleteBucketLogging(GenericRequest genericRequest)` Disables the logging on `Bucket`.
    `void` | `deleteBucketLogging(String bucketName)` Disables the logging on `Bucket`.
    `void` | `deleteBucketPolicy(GenericRequest genericRequest)` Delete policy of the `Bucket` instance.
    `void` | `deleteBucketPolicy(String bucketName)` Delete policy of the `Bucket` instance.
    `void` | `deleteBucketQosInfo(GenericRequest genericRequest)` Deletes the bucket qos info.
    `void` | `deleteBucketQosInfo(String bucketName)` Deletes the bucket qos info.
    `void` | `deleteBucketReplication(DeleteBucketReplicationRequest deleteBucketReplicationRequest)` Deletes the specified `Bucket`'s cross region replication rule.
    `void` | `deleteBucketReplication(String bucketName, String replicationRuleID)` Deletes the specified `Bucket`'s cross region replication rule.
    `void` | `deleteBucketTagging(GenericRequest genericRequest)` Clears all the tags of the `Bucket` instance.
    `void` | `deleteBucketTagging(String bucketName)` Clears all the tags of the `Bucket` instance。
    `void` | `deleteBucketVpcip(DeleteBucketVpcipRequest deleteBucketVpcipRequest)` Deletes the `VpcPolicy` instance that has binded to the bucket.
    `void` | `deleteBucketWebsite(GenericRequest genericRequest)` Deletes the `Bucket`'s static website configuration, which means disabling the static website on the bucket.
    `void` | `deleteBucketWebsite(String bucketName)` Deletes the `Bucket`'s static website configuration, which means disabling the static website on the bucket.
    `void` | `deleteImageStyle(String bucketName, String styleName)` Deletes a style named by parameter styleName under `Bucket`
    `void` | `deleteImageStyle(String bucketName, String styleName, GenericRequest genericRequest)` Deletes a style named by parameter styleName under `Bucket`
    `void` | `deleteLiveChannel(LiveChannelGenericRequest liveChannelGenericRequest)` Deletes the Live Channel。
    `void` | `deleteLiveChannel(String bucketName, String liveChannel)` Deletes the Live Channel.
    `void` | `deleteObject(GenericRequest genericRequest)` Deletes the specified `OSSObject` by the `GenericRequest` instance.
    `void` | `deleteObject(String bucketName, String key)` Deletes the specified `OSSObject` by bucket name and object key.
    `DeleteObjectsResult` | `deleteObjects(DeleteObjectsRequest deleteObjectsRequest)` Batch deletes the specified files under a specific bucket.
    `void` | `deleteObjectTagging(GenericRequest genericRequest)` Clears all the tags of the OSS object.
    `void` | `deleteObjectTagging(String bucketName, String key)` Clears all the tags of the OSS object.
    `void` | `deleteUdf(UdfGenericRequest genericRequest)`
    `void` | `deleteUdfApplication(UdfGenericRequest genericRequest)`
    `void` | `deleteUdfImage(UdfGenericRequest genericRequest)`
    `void` | `deleteVersion(DeleteVersionRequest deleteVersionRequest)` Deletes a specific version of an object in the specified bucket.
    `void` | `deleteVersion(String bucketName, String key, String versionId)` Deletes a specific version of the specified object in the specified bucket.
    `DeleteVersionsResult` | `deleteVersions(DeleteVersionsRequest deleteVersionsRequest)` Batch deletes the specified object versions under a specific bucket.
    `void` | `deleteVpcip(DeleteVpcipRequest deleteVpcipRequest)` Deletes the `Vpcip` instance.
    `boolean` | `doesBucketExist(GenericRequest genericRequest)` Checks if the `Bucket` exists。
    `boolean` | `doesBucketExist(String bucketName)` Checks the `Bucket` exists .
    `boolean` | `doesObjectExist(GenericRequest genericRequest)` Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
    `boolean` | `doesObjectExist(GenericRequest genericRequest, boolean isOnlyInOSS)` Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
    `boolean` | `doesObjectExist(HeadObjectRequest headObjectRequest)` 已过时。
    `boolean` | `doesObjectExist(String bucketName, String key)` Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
    `boolean` | `doesObjectExist(String bucketName, String key, boolean isOnlyInOSS)` Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will impact the result of this function if isOnlyInOSS is true.
    `DownloadFileResult` | `downloadFile(DownloadFileRequest downloadFileRequest)` File download Very similar with file upload, this method will split the OSS object into parts and download them in parallel by a thread pool, though by default the thread pool only has one thread.
    `String` | `generatePostPolicy(Date expiration, PolicyConditions conds)` Generates the post policy form field in JSON format.
    `URL` | `generatePresignedUrl(GeneratePresignedUrlRequest request)` Generates a signed url for accessing the `OSSObject` with a specific HTTP method.
    `URL` | `generatePresignedUrl(String bucketName, String key, Date expiration)` Generates a signed url for accessing the `OSSObject` with HTTP GET method.
    `URL` | `generatePresignedUrl(String bucketName, String key, Date expiration, HttpMethod method)` Generates a signed url for accessing the `OSSObject` with a specific HTTP method.
    `String` | `generateRtmpUri(GenerateRtmpUriRequest generatePushflowUrlRequest)` Generates a RTMP pushing streaming address in the Live Channel.
    `String` | `generateRtmpUri(String bucketName, String liveChannelName, String PlaylistName, long expires)` Generates a RTMP pushing streaming address in the Live Channel.
    `void` | `generateVodPlaylist(GenerateVodPlaylistRequest generateVodPlaylistRequest)` Generates a VOD playlist (*.m3u8 file) for the *.ts files with specified time range under the Live Channel.
    `void` | `generateVodPlaylist(String bucketName, String liveChannelName, String PlaylistName, long startTime, long endTime)` Generates a VOD playlist (*.m3u8 file) for the *.ts files with specified time range under the Live Channel.
    `GetAsyncFetchTaskResult` | `getAsyncFetchTask(GetAsyncFetchTaskRequest getAsyncFetchTaskRequest)` Gets the async fetch task information.
    `GetAsyncFetchTaskResult` | `getAsyncFetchTask(String bucketName, String taskId)` Gets the async fetch task information.
    `AccessControlList` | `getBucketAcl(GenericRequest genericRequest)` Gets the Access Control List(ACL) of the `Bucket` instance.
    `AccessControlList` | `getBucketAcl(String bucketName)` Returns the Access control List (ACL) of the `Bucket` instance.
    `List<CnameConfiguration>` | `getBucketCname(GenericRequest genericRequest)` Gets the `Bucket`'s Cnames.
    `List<CnameConfiguration>` | `getBucketCname(String bucketName)` Gets the `Bucket`'s Cnames.
    `CORSConfiguration` | `getBucketCORS(GenericRequest genericRequest)` Get CORS configuration from the bucket.
    `List<SetBucketCORSRequest.CORSRule>` | `getBucketCORSRules(GenericRequest genericRequest)` Lists all CORS rules from the bucket.
    `List<SetBucketCORSRequest.CORSRule>` | `getBucketCORSRules(String bucketName)` Lists all CORS rules from the bucket.
    `ServerSideEncryptionConfiguration` | `getBucketEncryption(GenericRequest genericRequest)` Returns the server-side encryption configuration of a bucket.
    `ServerSideEncryptionConfiguration` | `getBucketEncryption(String bucketName)` Returns the server-side encryption configuration of a bucket.
    `GetBucketImageResult` | `getBucketImage(String bucketName)` Gets the image processing attributes on the specific `Bucket`.
    `GetBucketImageResult` | `getBucketImage(String bucketName, GenericRequest genericRequest)` Gets the image processing attributes on the specific `Bucket`.
    `BucketInfo` | `getBucketInfo(GenericRequest genericRequest)` Gets the `Bucket`'s basic information as well as its ACL.
    `BucketInfo` | `getBucketInfo(String bucketName)` Gets the `Bucket`'s basic information as well as its ACL.
    `GetBucketInventoryConfigurationResult` | `getBucketInventoryConfiguration(GetBucketInventoryConfigurationRequest getBucketInventoryConfigurationRequest)` Gets the bucket inventory configuration.
    `GetBucketInventoryConfigurationResult` | `getBucketInventoryConfiguration(String bucketName, String id)` Gets the bucket inventory configuration.
    `List<LifecycleRule>` | `getBucketLifecycle(GenericRequest genericRequest)` Gets the `Bucket`'s Lifecycle rules.
    `List<LifecycleRule>` | `getBucketLifecycle(String bucketName)` Gets the `Bucket`'s lifecycle rules.
    `String` | `getBucketLocation(GenericRequest genericRequest)` Returns the datacenter name where the `Bucket` instance specified by GenericRequest is hosted.
    `String` | `getBucketLocation(String bucketName)` Returns the datacenter name where the `Bucket` instance is hosted.
    `BucketLoggingResult` | `getBucketLogging(GenericRequest genericRequest)` Gets the `Bucket`'s logging setting.
    `BucketLoggingResult` | `getBucketLogging(String bucketName)` Gets the `Bucket`'s logging setting.
    `BucketMetadata` | `getBucketMetadata(GenericRequest genericRequest)` Gets all the metadata of `Bucket`.
    `BucketMetadata` | `getBucketMetadata(String bucketName)` Gets the metadata of `Bucket`.
    `GetBucketPolicyResult` | `getBucketPolicy(GenericRequest genericRequest)` Gets policy text of the `Bucket` instance.
    `GetBucketPolicyResult` | `getBucketPolicy(String bucketName)` Gets policy text of the `Bucket` instance.
    `BucketProcess` | `getBucketProcess(GenericRequest genericRequest)` Get the bucket's image accessing configuration
    `BucketProcess` | `getBucketProcess(String bucketName)` Gets the bucket's image accessing configuration.
    `BucketQosInfo` | `getBucketQosInfo(GenericRequest genericRequest)` Gets the bucket qos info of the `Bucket`.
    `BucketQosInfo` | `getBucketQosInfo(String bucketName)` Gets the bucket qos info of the `Bucket`.
    `BucketReferer` | `getBucketReferer(GenericRequest genericRequest)` Returns http referer information of the `Bucket` specified by bucket name in GenericRequest object.
    `BucketReferer` | `getBucketReferer(String bucketName)` Returns http referer information of the `Bucket` specified by bucket name.
    `List<ReplicationRule>` | `getBucketReplication(GenericRequest genericRequest)` Gets all the `Bucket`'s cross region replication rules.
    `List<ReplicationRule>` | `getBucketReplication(String bucketName)` Gets all the `Bucket`'s cross region replication rules.
    `List<String>` | `getBucketReplicationLocation(GenericRequest genericRequest)` Gets the `Bucket`'s replication reachable data centers.
    `List<String>` | `getBucketReplicationLocation(String bucketName)` Gets the `Bucket`'s replication reachable data centers.
    `BucketReplicationProgress` | `getBucketReplicationProgress(GetBucketReplicationProgressRequest getBucketReplicationProgressRequest)` Gets the `Bucket`'s progress of the specified cross region replication rule.
    `BucketReplicationProgress` | `getBucketReplicationProgress(String bucketName, String replicationRuleID)` Gets the `Bucket`'s progress of the specified cross region replication rule.
    `GetBucketRequestPaymentResult` | `getBucketRequestPayment(GenericRequest genericRequest)` Gets the request payment of the `Bucket`.
    `GetBucketRequestPaymentResult` | `getBucketRequestPayment(String bucketName)` Gets the request payment of the `Bucket`.
    `BucketStat` | `getBucketStat(GenericRequest genericRequest)` Gets the `Bucket`'s storage information such as object counts, storage size and executing multipart uploads.
    `BucketStat` | `getBucketStat(String bucketName)` Gets the `Bucket`'s storage information such as object counts, storage size and executing multipart uploads.
    `UserQos` | `getBucketStorageCapacity(GenericRequest genericRequest)` Gets the `Bucket`'s capacity
    `UserQos` | `getBucketStorageCapacity(String bucketName)` Gets the `Bucket`'s capacity
    `TagSet` | `getBucketTagging(GenericRequest genericRequest)` Gets the tags of `Bucket` instance.
    `TagSet` | `getBucketTagging(String bucketName)` Gets all tags of the `Bucket` instance.
    `BucketVersioningConfiguration` | `getBucketVersioning(GenericRequest genericRequest)` Returns the versioning configuration for the specified bucket.
    `BucketVersioningConfiguration` | `getBucketVersioning(String bucketName)` Returns the versioning configuration for the specified bucket.
    `List<VpcPolicy>` | `getBucketVpcip(GenericRequest genericRequest)` Returns all `VpcPolicy` instances of the Bucket.
    `BucketWebsiteResult` | `getBucketWebsite(GenericRequest genericRequest)` Gets the `Bucket`'s static webite settings.
    `BucketWebsiteResult` | `getBucketWebsite(String bucketName)` Gets the `Bucket`'s static website settings.
    `GetImageStyleResult` | `getImageStyle(String bucketName, String styleName)` Gets a style named by parameter styleName under `Bucket`
    `GetImageStyleResult` | `getImageStyle(String bucketName, String styleName, GenericRequest genericRequest)` Gets a style named by parameter styleName under the `Bucket`
    `List<LiveRecord>` | `getLiveChannelHistory(LiveChannelGenericRequest liveChannelGenericRequest)` Gets recent `LiveRecord` entries from the specified Live Channel.
    `List<LiveRecord>` | `getLiveChannelHistory(String bucketName, String liveChannel)` Gets recent `LiveRecord` entries from the specified Live Channel.
    `LiveChannelInfo` | `getLiveChannelInfo(LiveChannelGenericRequest liveChannelGenericRequest)` Gets the Live Channel's configuration.
    `LiveChannelInfo` | `getLiveChannelInfo(String bucketName, String liveChannel)` Gets the Live Channel's configuration.
    `LiveChannelStat` | `getLiveChannelStat(LiveChannelGenericRequest liveChannelGenericRequest)` Gets Live Channel's streaming information.
    `LiveChannelStat` | `getLiveChannelStat(String bucketName, String liveChannel)` Gets Live Channel's streaming information.
    `OSSObject` | `getObject(GetObjectRequest getObjectRequest)` Gets the `OSSObject` from the bucket specified in `GetObjectRequest` parameter.
    `ObjectMetadata` | `getObject(GetObjectRequest getObjectRequest, File file)` Downloads the file from a file specified by the `GetObjectRequest` parameter.
    `OSSObject` | `getObject(String bucketName, String key)` Gets a `OSSObject` from `Bucket`.
    `OSSObject` | `getObject(URL signedUrl, Map<String,String> requestHeaders)` Gets the `OSSObject` from the signed Url.
    `ObjectAcl` | `getObjectAcl(GenericRequest genericRequest)` Gets the Access Control List (ACL) of the OSS object.
    `ObjectAcl` | `getObjectAcl(String bucketName, String key)` Gets the Access Control List (ACL) of the OSS object.
    `ObjectMetadata` | `getObjectMetadata(GenericRequest genericRequest)` Gets all the metadata of `OSSObject`.
    `ObjectMetadata` | `getObjectMetadata(String bucketName, String key)` Gets all the metadata of `OSSObject`.
    `TagSet` | `getObjectTagging(GenericRequest genericRequest)` Gets all tags of the OSS object.
    `TagSet` | `getObjectTagging(String bucketName, String key)` Gets all tags of the OSS object.
    `SimplifiedObjectMeta` | `getSimplifiedObjectMeta(GenericRequest genericRequest)` Gets the simplified metadata information of `OSSObject`.
    `SimplifiedObjectMeta` | `getSimplifiedObjectMeta(String bucketName, String key)` Gets the simplified metadata information of `OSSObject`.
    `OSSSymlink` | `getSymlink(GenericRequest genericRequest)` Gets the symlink information for the given symlink name.
    `OSSSymlink` | `getSymlink(String bucketName, String symlink)` Gets the symlink information for the given symlink name.
    `UdfApplicationInfo` | `getUdfApplicationInfo(UdfGenericRequest genericRequest)`
    `UdfApplicationLog` | `getUdfApplicationLog(GetUdfApplicationLogRequest getUdfApplicationLogRequest)`
    `List<UdfImageInfo>` | `getUdfImageInfo(UdfGenericRequest genericRequest)`
    `UdfInfo` | `getUdfInfo(UdfGenericRequest genericRequest)`
    `UserQosInfo` | `getUserQosInfo()` Gets the User qos info.
    `OSSObject` | `getVodPlaylist(GetVodPlaylistRequest getVodPlaylistRequest)` Generates and returns a VOD playlist (m3u8 format) for the *.ts files with specified time range under the Live Channel, but this VOD playlist would not be stored in OSS Server.
    `OSSObject` | `getVodPlaylist(String bucketName, String liveChannelName, long startTime, long endTime)` Generates and returns a VOD playlist (m3u8 format) for the *.ts files with specified time range under the Live Channel, but this VOD playlist would not be stored in OSS Server.
    `ObjectMetadata` | `headObject(HeadObjectRequest headObjectRequest)` Gets all the head data of `OSSObject`.
    `ObjectMetadata` | `headObject(String bucketName, String key)` Gets all the head data of `OSSObject`.
    `InitiateMultipartUploadResult` | `initiateMultipartUpload(InitiateMultipartUploadRequest request)` Initiates a multiple part upload Prior to starting a multiple part upload, this method needs to be called to ask OSS service do some initialization work.
    `ListBucketInventoryConfigurationsResult` | `listBucketInventoryConfigurations(ListBucketInventoryConfigurationsRequest listBucketInventoryConfigurationsRequest)` Returns the list of inventory configurations for the bucket.
    `ListBucketInventoryConfigurationsResult` | `listBucketInventoryConfigurations(String bucketName)` Returns the list of inventory configurations for the bucket.
    `ListBucketInventoryConfigurationsResult` | `listBucketInventoryConfigurations(String bucketName, String continuationToken)` Returns the list of inventory configurations for the bucket.
    `List<Bucket>` | `listBuckets()` Returns all `Bucket` instances of the current account.
    `BucketList` | `listBuckets(ListBucketsRequest listBucketsRequest)` Returns all `Bucket` instances of the current account that meet the conditions specified.
    `BucketList` | `listBuckets(String prefix, String marker, Integer maxKeys)` Returns all `Bucket` instances of the current account that meet the conditions specified.
    `List<Style>` | `listImageStyle(String bucketName)` Lists all styles under the `Bucket`
    `List<Style>` | `listImageStyle(String bucketName, GenericRequest genericRequest)` Lists all styles under the `Bucket`
    `LiveChannelListing` | `listLiveChannels(ListLiveChannelsRequest listLiveChannelRequest)` Lists all Live Channels under a bucket that meets the requirement specified by the parameter listLiveChannelRequest.
    `List<LiveChannel>` | `listLiveChannels(String bucketName)` Lists all Live Channels under a bucket.
    `MultipartUploadListing` | `listMultipartUploads(ListMultipartUploadsRequest request)` Lists executing multiple parts uploads.
    `ObjectListing` | `listObjects(ListObjectsRequest listObjectsRequest)` Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
    `ObjectListing` | `listObjects(String bucketName)` Lists all objects under the specified `Bucket`
    `ObjectListing` | `listObjects(String bucketName, String prefix)` Lists all objects under the specified `Bucket` with the specified prefix.
    `ListObjectsV2Result` | `listObjectsV2(ListObjectsV2Request listObjectsV2Request)` Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
    `ListObjectsV2Result` | `listObjectsV2(String bucketName)` Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
    `ListObjectsV2Result` | `listObjectsV2(String bucketName, String prefix)` Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
    `ListObjectsV2Result` | `listObjectsV2(String bucketName, String prefix, String continuationToken, String startAfter, String delimiter, Integer maxKeys, String encodingType, boolean fetchOwner)` Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
    `PartListing` | `listParts(ListPartsRequest request)` Lists all parts in a multiple parts upload.
    `List<UdfApplicationInfo>` | `listUdfApplications()`
    `List<UdfInfo>` | `listUdfs()`
    `VersionListing` | `listVersions(ListVersionsRequest listVersionsRequest)` Returns a list of summary information about the versions in the specified bucket.
    `VersionListing` | `listVersions(String bucketName, String prefix)` Returns a list of summary information about the versions in the specified bucket.
    `VersionListing` | `listVersions(String bucketName, String prefix, String keyMarker, String versionIdMarker, String delimiter, Integer maxResults)` Returns a list of summary information about the versions in the specified bucket.
    `List<Vpcip>` | `listVpcip()` Returns all `Vpcip` instances of the current account.
    `ResponseMessage` | `optionsObject(OptionsRequest request)` 已过时。
    `GenericResult` | `processObject(ProcessObjectRequest processObjectRequest)` Apply process on the specified image file.
    `void` | `putBucketImage(PutBucketImageRequest request)` Sets image processing attributes on the specific `Bucket`
    `void` | `putImageStyle(PutImageStyleRequest putImageStyleRequest)` Adds a new style under `Bucket`.
    `PutObjectResult` | `putObject(PutObjectRequest putObjectRequest)` Uploads the file to `Bucket`.
    `PutObjectResult` | `putObject(String bucketName, String key, File file)` Uploads the file to the `Bucket` from the file.
    `PutObjectResult` | `putObject(String bucketName, String key, File file, ObjectMetadata metadata)` Uploads the file to the `Bucket` from the file with the `ObjectMetadata`.
    `PutObjectResult` | `putObject(String bucketName, String key, InputStream input)` Uploads the file to the `Bucket` from the `InputStream` instance.
    `PutObjectResult` | `putObject(String bucketName, String key, InputStream input, ObjectMetadata metadata)` Uploads the file to the `Bucket` from the @{link InputStream} with the `ObjectMetadata` information。
    `PutObjectResult` | `putObject(URL signedUrl, InputStream requestContent, long contentLength, Map<String,String> requestHeaders)` Uploads the file from a InputStream instance to the signed URL with specified headers.
    `PutObjectResult` | `putObject(URL signedUrl, InputStream requestContent, long contentLength, Map<String,String> requestHeaders, boolean useChunkEncoding)` Uploads the file from a InputStream instance to the signed URL with specified headers.
    `PutObjectResult` | `putObject(URL signedUrl, String filePath, Map<String,String> requestHeaders)` Uploads the file from a specified file path to the signed URL with specified headers
    `PutObjectResult` | `putObject(URL signedUrl, String filePath, Map<String,String> requestHeaders, boolean useChunkEncoding)` Uploads the file from a specified file path to the signed URL with specified headers with the flag of using chunked tranfer encoding.
    `void` | `resizeUdfApplication(ResizeUdfApplicationRequest resizeUdfApplicationRequest)`
    `RestoreObjectResult` | `restoreObject(GenericRequest genericRequest)` Restores the object of archive storage.
    `RestoreObjectResult` | `restoreObject(RestoreObjectRequest restoreObjectRequest)` Restores the object of archive storage.
    `RestoreObjectResult` | `restoreObject(String bucketName, String key)` Restores the object of archive storage.
    `RestoreObjectResult` | `restoreObject(String bucketName, String key, RestoreConfiguration restoreConfiguration)` Restores the object of archive storage.
    `OSSObject` | `selectObject(SelectObjectRequest selectObjectRequest)` Select the `OSSObject` from the bucket specified in `SelectObjectRequest` parameter
    `SetAsyncFetchTaskResult` | `setAsyncFetchTask(SetAsyncFetchTaskRequest setAsyncFetchTaskRequest)` Sets an async fetch task.
    `SetAsyncFetchTaskResult` | `setAsyncFetchTask(String bucketName, AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)` Sets an async fetch task.
    `void` | `setBucketAcl(SetBucketAclRequest setBucketAclRequest)` Sends the request to apply ACL on a `Bucket` instance.
    `void` | `setBucketAcl(String bucketName, CannedAccessControlList acl)` Applies the Access Control List(ACL) on the `Bucket`.
    `void` | `setBucketCORS(SetBucketCORSRequest request)` Adds CORS rules to the bucket.
    `void` | `setBucketEncryption(SetBucketEncryptionRequest setBucketEncryptionRequest)` Creates a new server-side encryption configuration (or replaces an existing one, if present).
    `void` | `setBucketInventoryConfiguration(SetBucketInventoryConfigurationRequest setBucketInventoryConfigurationRequest)` Sets the bucket inventory configuration.
    `void` | `setBucketInventoryConfiguration(String bucketName, InventoryConfiguration inventoryConfiguration)` Sets the bucket inventory configuration.
    `void` | `setBucketLifecycle(SetBucketLifecycleRequest setBucketLifecycleRequest)` Sets the `Bucket`'s lifecycle rule.
    `void` | `setBucketLogging(SetBucketLoggingRequest request)` Enables or disables the `Bucket`'s logging.
    `void` | `setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)` Sets the policy on the `Bucket` instance.
    `void` | `setBucketPolicy(String bucketName, String policyText)` Sets the policy on the `Bucket` instance.
    `void` | `setBucketProcess(SetBucketProcessRequest setBucketProcessRequest)` Creates the image accessing configuration according to the parameter setBucketProcessRequest.
    `void` | `setBucketQosInfo(SetBucketQosInfoRequest setBucketQosInfoRequest)` sets the qos info for the `Bucket`.
    `void` | `setBucketQosInfo(String bucketName, BucketQosInfo bucketQosInfo)` sets the qos info for the `Bucket`.
    `void` | `setBucketReferer(SetBucketRefererRequest setBucketRefererRequest)` Sets the http referer on the `Bucket` instance in the parameter setBucketRefererRequest.
    `void` | `setBucketReferer(String bucketName, BucketReferer referer)` Sets the http referer on the `Bucket` instance specified by the bucket name.
    `void` | `setBucketRequestPayment(SetBucketRequestPaymentRequest setBucketRequestPaymentRequest)` Sets the request payment of the `Bucket`.
    `void` | `setBucketRequestPayment(String bucketName, Payer payer)` Sets the request payment of the `Bucket`.
    `void` | `setBucketStorageCapacity(SetBucketStorageCapacityRequest setBucketStorageCapacityRequest)` Sets the capacity of the `Bucket`.
    `void` | `setBucketStorageCapacity(String bucketName, UserQos userQos)` Sets the capacity of the `Bucket`.
    `void` | `setBucketTagging(SetBucketTaggingRequest setBucketTaggingRequest)` Sets the tags on the `Bucket` instance in `SetBucketTaggingRequest` object.
    `void` | `setBucketTagging(String bucketName, Map<String,String> tags)` Sets the tags on the `Bucket` instance specified by the bucket name
    `void` | `setBucketTagging(String bucketName, TagSet tagSet)` Sets the tags on the `Bucket` instance.
    `void` | `setBucketVersioning(SetBucketVersioningRequest setBucketVersioningRequest)` Sets the versioning configuration for the specified bucket.
    `void` | `setBucketWebsite(SetBucketWebsiteRequest setBucketWebSiteRequest)` Sets the static website settings for the `Bucket`.
    `void` | `setLiveChannelStatus(SetLiveChannelRequest setLiveChannelRequest)` Sets the Live Channel status.
    `void` | `setLiveChannelStatus(String bucketName, String liveChannel, LiveChannelStatus status)` Sets the Live Channel status.
    `void` | `setObjectAcl(SetObjectAclRequest setObjectAclRequest)` Sets the Access Control List (ACL) on a `OSSObject` instance.
    `void` | `setObjectAcl(String bucketName, String key, CannedAccessControlList cannedAcl)` Sets the Access Control List (ACL) on a `OSSObject` instance.
    `void` | `setObjectTagging(SetObjectTaggingRequest setObjectTaggingRequest)` Sets the tags on the OSS object.
    `void` | `setObjectTagging(String bucketName, String key, Map<String,String> tags)` Sets the tags on the OSS object.
    `void` | `setObjectTagging(String bucketName, String key, TagSet tagSet)` Sets the tags on the OSS object.
    `void` | `shutdown()` Shuts down the OSS instance (release all resources) The OSS instance is not usable after its shutdown() is called.
    `void` | `switchCredentials(Credentials creds)` Switches to another users with specified credentials
    `void` | `switchSignatureVersion(SignVersion signatureVersion)` Switches to another signature version
    `void` | `upgradeUdfApplication(UpgradeUdfApplicationRequest upgradeUdfApplicationRequest)`
    `UploadFileResult` | `uploadFile(UploadFileRequest uploadFileRequest)` File upload This method will automatically split files into parts and upload them in parallel by a thread pool, though by default the thread pool only has one thread.
    `UploadPartResult` | `uploadPart(UploadPartRequest request)` Uploads a part to a specified multiple upload.
    `UploadPartCopyResult` | `uploadPartCopy(UploadPartCopyRequest request)` Uploads Part copy from an existing source object to a target object with specified upload Id and part number
    `void` | `uploadUdfImage(UploadUdfImageRequest uploadUdfImageRequest)`

- - ### 方法详细资料

    - #### switchCredentials

          void switchCredentials(Credentials creds)

      Switches to another users with specified credentials
      参数:
        `creds` - the credential to switch to。

    - #### switchSignatureVersion

          void switchSignatureVersion(SignVersion signatureVersion)

      Switches to another signature version
      参数:
        `signatureVersion` - the signature version to switch to。

    - #### shutdown

          void shutdown()

      Shuts down the OSS instance (release all resources) The OSS instance is not usable after its shutdown() is called.

    - #### createBucket

          Bucket createBucket(String bucketName)
                              throws OSSException,
                                     ClientException

      Creates `Bucket` instance. The bucket name specified must be globally unique and follow the naming rules from https://www.alibabacloud.com/help/doc-detail/31827.htm?spm=a3c0i.o32012en .a3.1.64ece5e0jPpa2t.
      参数:
        `bucketName` - bucket name
      抛出:
        `OSSException`
        `ClientException`

    - #### createBucket

          Bucket createBucket(CreateBucketRequest createBucketRequest)
                              throws OSSException,
                                     ClientException

      Creates a `Bucket` instance with specified CreateBucketRequest information.
      参数:
        `createBucketRequest` - instance of `CreateBucketRequest`, which at least has bucket name information.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucket

          void deleteBucket(String bucketName)
                            throws OSSException,
                                   ClientException

      Deletes the `Bucket` instance. A non-empty bucket could not be deleted.
      参数:
        `bucketName` - bucket name to delete.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucket

          void deleteBucket(GenericRequest genericRequest)
                            throws OSSException,
                                   ClientException

      Deletes the `Bucket` instance.
      参数:
        `genericRequest` - the generic request instance that has the bucket name information.
      抛出:
        `OSSException`
        `ClientException`

    - #### listBuckets

          List<Bucket> listBuckets()
                                   throws OSSException,
                                          ClientException

      Returns all `Bucket` instances of the current account.
      返回:
        A list of `Bucket` instances. If there's no buckets, the list will be empty (instead of null).
      抛出:
        `OSSException`
        `ClientException`

    - #### listBuckets

          BucketList listBuckets(String prefix,
                               String marker,
                               Integer maxKeys)
                                 throws OSSException,
                                        ClientException

      Returns all `Bucket` instances of the current account that meet the conditions specified.
      参数:
        `prefix` - The prefix of the bucket name returned. If null, the bucket name could have any prefix.
        `marker` - The start point in the lexicographic order for the buckets to return. If null, return the buckets from the beginning in the lexicographic order. For example, if the account has buckets bk1, bk2, bk3. If the marker is set as bk2, then only bk2 and bk3 meet the criteria. But if the marker is null, then all three buckets meet the criteria.
        `maxKeys` - Max bucket count to return. The valid value is from 1 to 1000, default is 100 if it's null.
      返回:
        The list of `Bucket` instances.
      抛出:
        `OSSException`
        `ClientException`

    - #### listBuckets

          BucketList listBuckets(ListBucketsRequest listBucketsRequest)
                                 throws OSSException,
                                        ClientException

      Returns all `Bucket` instances of the current account that meet the conditions specified.
      参数:
        `listBucketsRequest` - the ListBucketsRequest instance that defines the criteria which could have requirements on prefix, marker, maxKeys.
      返回:
        The list of `Bucket` instances.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketAcl

          void setBucketAcl(String bucketName,
                          CannedAccessControlList acl)
                            throws OSSException,
                                   ClientException

      Applies the Access Control List(ACL) on the `Bucket`.
      参数:
        `bucketName` - Bucket name.
        `acl` - `CannedAccessControlList` instance. If the instance is null, no ACL change on the bucket (but the request is still sent).
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketAcl

          void setBucketAcl(SetBucketAclRequest setBucketAclRequest)
                            throws OSSException,
                                   ClientException

      Sends the request to apply ACL on a `Bucket` instance.
      参数:
        `setBucketAclRequest` - SetBucketAclRequest instance which specifies the ACL and the bucket information.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketAcl

          AccessControlList getBucketAcl(String bucketName)
                                         throws OSSException,
                                                ClientException

      Returns the Access control List (ACL) of the `Bucket` instance.
      参数:
        `bucketName` - Bucket Name.
      返回:
        Access Control List(ACL) `AccessControlList`.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketAcl

          AccessControlList getBucketAcl(GenericRequest genericRequest)
                                         throws OSSException,
                                                ClientException

      Gets the Access Control List(ACL) of the `Bucket` instance.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name information.
      返回:
        `AccessControlList` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketMetadata

          BucketMetadata getBucketMetadata(String bucketName)
                                           throws OSSException,
                                                  ClientException

      Gets the metadata of `Bucket`.
      参数:
        `bucketName` - Bucket name.
      返回:
        The `BucketMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketMetadata

          BucketMetadata getBucketMetadata(GenericRequest genericRequest)
                                           throws OSSException,
                                                  ClientException

      Gets all the metadata of `Bucket`.
      参数:
        `genericRequest` - Generic request which specifies the bucket name.
      返回:
        The `BucketMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketReferer

          void setBucketReferer(String bucketName,
                              BucketReferer referer)
                                throws OSSException,
                                       ClientException

      Sets the http referer on the `Bucket` instance specified by the bucket name.
      参数:
        `bucketName` - Bucket name.
        `referer` - The `BucketReferer` instance. If null, it would create a `BucketReferer` instance from default constructor.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketReferer

          void setBucketReferer(SetBucketRefererRequest setBucketRefererRequest)
                                throws OSSException,
                                       ClientException

      Sets the http referer on the `Bucket` instance in the parameter setBucketRefererRequest.
      参数:
        `setBucketRefererRequest` - `SetBucketRefererRequest` instance that specify the bucket name and the `BucketReferer` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketReferer

          BucketReferer getBucketReferer(String bucketName)
                                         throws OSSException,
                                                ClientException

      Returns http referer information of the `Bucket` specified by bucket name.
      参数:
        `bucketName` - Bucket name
      返回:
        `BucketReferer` instance. The BucketReferer object with empty referer information is returned if there's no http referer information.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketReferer

          BucketReferer getBucketReferer(GenericRequest genericRequest)
                                         throws OSSException,
                                                ClientException

      Returns http referer information of the `Bucket` specified by bucket name in GenericRequest object.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        bucket http referer `BucketReferer`。
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketLocation

          String getBucketLocation(String bucketName)
                                   throws OSSException,
                                          ClientException

      Returns the datacenter name where the `Bucket` instance is hosted. As of 08/03/2017, the valid datacenter names are oss-cn-hangzhou, oss-cn-qingdao, oss-cn-beijing, oss-cn-hongkong, oss-cn-shenzhen, oss-cn-shanghai, oss-us-west-1, oss-us-east-1, and oss-ap-southeast-1.
      参数:
        `bucketName` - Bucket name.
      返回:
        The datacenter name in string.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketLocation

          String getBucketLocation(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Returns the datacenter name where the `Bucket` instance specified by GenericRequest is hosted.
      参数:
        `genericRequest` - `GenericRequest` instance with bucket name information.
      返回:
        The datacenter name in string.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketTagging

          void setBucketTagging(String bucketName,
                              Map<String,String> tags)
                                throws OSSException,
                                       ClientException

      Sets the tags on the `Bucket` instance specified by the bucket name
      参数:
        `bucketName` - Bucket name.
        `tags` - The dictionary that contains the tags in the form of <key, value> pairs
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketTagging

          void setBucketTagging(String bucketName,
                              TagSet tagSet)
                                throws OSSException,
                                       ClientException

      Sets the tags on the `Bucket` instance.
      参数:
        `bucketName` - Bucket name.
        `tagSet` - `TagSet` instance that has the tags in the form of <key, value> paris.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketTagging

          void setBucketTagging(SetBucketTaggingRequest setBucketTaggingRequest)
                                throws OSSException,
                                       ClientException

      Sets the tags on the `Bucket` instance in `SetBucketTaggingRequest` object.
      参数:
        `setBucketTaggingRequest` - `SetBucketTaggingRequest` instance that has bucket information as well as tagging information.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketTagging

          TagSet getBucketTagging(String bucketName)
                                  throws OSSException,
                                         ClientException

      Gets all tags of the `Bucket` instance.
      参数:
        `bucketName` - Bucket name
      返回:
        A `TagSet` instance. If there's no tag, the TagSet object with empty tag information is returned.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketTagging

          TagSet getBucketTagging(GenericRequest genericRequest)
                                  throws OSSException,
                                         ClientException

      Gets the tags of `Bucket` instance.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        A `TagSet` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketTagging

          void deleteBucketTagging(String bucketName)
                                   throws OSSException,
                                          ClientException

      Clears all the tags of the `Bucket` instance。
      参数:
        `bucketName` - Bucket name
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketTagging

          void deleteBucketTagging(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Clears all the tags of the `Bucket` instance.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketVersioning

          BucketVersioningConfiguration getBucketVersioning(String bucketName)
                                                            throws OSSException,
                                                                   ClientException

      Returns the versioning configuration for the specified bucket.

      A bucket's versioning configuration can be in one of three possible states:

      - `BucketVersioningConfiguration.OFF`
      - `BucketVersioningConfiguration.ENABLED`
      - `BucketVersioningConfiguration.SUSPENDED`

      By default, new buckets are in the `off` state. Once versioning is enabled for a bucket the status can never be reverted to `off`.

      The versioning configuration of a bucket has different implications for each operation performed on that bucket or for objects within that bucket. For example, when versioning is enabled a `PutObject` operation creates a unique object version-id for the object being uploaded. The The `PutObject` API guarantees that, if versioning is enabled for a bucket at the time of the request, the new object can only be permanently deleted using a `DeleteVersion` operation. It can never be overwritten. Additionally, the `PutObject` API guarantees that, if versioning is enabled for a bucket the request, no other object will be overwritten by that request.

      OSS is eventually consistent. It can take time for the versioning status of a bucket to be propagated throughout the system.

      参数:
        `bucketName` - The bucket whose versioning configuration will be retrieved.
      返回:
        The bucket versioning configuration for the specified bucket.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `setBucketVersioning(SetBucketVersioningRequest)`, `getBucketVersioning(GenericRequest)`

    - #### getBucketVersioning

          BucketVersioningConfiguration getBucketVersioning(GenericRequest genericRequest)
                                                            throws OSSException,
                                                                   ClientException

      Returns the versioning configuration for the specified bucket.

      A bucket's versioning configuration can be in one of three possible states:

      - `BucketVersioningConfiguration.OFF`
      - `BucketVersioningConfiguration.ENABLED`
      - `BucketVersioningConfiguration.SUSPENDED`

      By default, new buckets are in the `off` state. Once versioning is enabled for a bucket the status can never be reverted to `off`.

      The versioning configuration of a bucket has different implications for each operation performed on that bucket or for objects within that bucket. For example, when versioning is enabled a `PutObject` operation creates a unique object version-id for the object being uploaded. The The `PutObject` API guarantees that, if versioning is enabled for a bucket at the time of the request, the new object can only be permanently deleted using a `DeleteVersion` operation. It can never be overwritten. Additionally, the `PutObject` API guarantees that, if versioning is enabled for a bucket the request, no other object will be overwritten by that request.

      OSS is eventually consistent. It can take time for the versioning status of a bucket to be propagated throughout the system.

      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        The bucket versioning configuration for the specified bucket.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `setBucketVersioning(SetBucketVersioningRequest)`, `getBucketVersioning(String)`

    - #### setBucketVersioning

          void setBucketVersioning(SetBucketVersioningRequest setBucketVersioningRequest)
                                   throws OSSException,
                                          ClientException

      Sets the versioning configuration for the specified bucket.

      A bucket's versioning configuration can be in one of three possible states:

      - `BucketVersioningConfiguration.OFF`
      - `BucketVersioningConfiguration.ENABLED`
      - `BucketVersioningConfiguration.SUSPENDED`

      By default, new buckets are in the `off` state. Once versioning is enabled for a bucket the status can never be reverted to `off`.

      Objects created before versioning was enabled or when versioning is suspended will be given the default `null` version ID (see `OSSConstants.NULL_VERSION_ID`). Note that the `null` version ID is a valid version ID and is not the same as not having a version ID.

      The versioning configuration of a bucket has different implications for each operation performed on that bucket or for objects within that bucket. For example, when versioning is enabled a `PutObject` operation creates a unique object version-id for the object being uploaded. The The `PutObject` API guarantees that, if versioning is enabled for a bucket at the time of the request, the new object can only be permanently deleted using a `DeleteVersion` operation. It can never be overwritten. Additionally, the `PutObject` API guarantees that, if versioning is enabled for a bucket the request, no other object will be overwritten by that request. Refer to the documentation sections for each API for information on how versioning status affects the semantics of that particular API.

      OSS is eventually consistent. It can take time for the versioning status of a bucket to be propagated throughout the system.

      参数:
        `setBucketVersioningRequest` - The request object containing all options for setting the bucket versioning configuration.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `getBucketVersioning(String)`

    - #### doesBucketExist

          boolean doesBucketExist(String bucketName)
                                  throws OSSException,
                                         ClientException

      Checks the `Bucket` exists .
      参数:
        `bucketName` - Bucket name.
      返回:
        Returns true if the bucket exists and false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### doesBucketExist

          boolean doesBucketExist(GenericRequest genericRequest)
                                  throws OSSException,
                                         ClientException

      Checks if the `Bucket` exists。
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        Returns true if the bucket exists and false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjects

          ObjectListing listObjects(String bucketName)
                                    throws OSSException,
                                           ClientException

      Lists all objects under the specified `Bucket`
      参数:
        `bucketName` - Bucket name
      返回:
        `ObjectListing` instance that has all objects.
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjects

          ObjectListing listObjects(String bucketName,
                                  String prefix)
                                    throws OSSException,
                                           ClientException

      Lists all objects under the specified `Bucket` with the specified prefix.
      参数:
        `bucketName` - Bucket name.
        `prefix` - The prefix returned object must have.
      返回:
        A `ObjectListing` instance that has all objects
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjects

          ObjectListing listObjects(ListObjectsRequest listObjectsRequest)
                                    throws OSSException,
                                           ClientException

      Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
      参数:
        `listObjectsRequest` - The `ListObjectsRequest` instance that defines the bucket name as well as the criteria such as prefix, marker, maxKeys, delimiter, etc.
      返回:
        A `ObjectListing` instance that has the objects meet the criteria
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjectsV2

          ListObjectsV2Result listObjectsV2(ListObjectsV2Request listObjectsV2Request)
                                            throws OSSException,
                                                   ClientException

      Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
      参数:
        `listObjectsV2Request` - The `ListObjectsRequest` instance that defines the bucket name as well as the criteria such as prefix, marker, maxKeys, delimiter, etc.
      返回:
        A `ListObjectsV2Result` instance that has the objects meet the criteria
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjectsV2

          ListObjectsV2Result listObjectsV2(String bucketName)
                                            throws OSSException,
                                                   ClientException

      Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
      参数:
        `bucketName` - The bucket name.
      返回:
        A `ListObjectsV2Result` instance that has the listing result.
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjectsV2

          ListObjectsV2Result listObjectsV2(String bucketName,
                                          String prefix)
                                            throws OSSException,
                                                   ClientException

      Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
      参数:
        `bucketName` - bucket name.
        `prefix` - The prefix restricting the objects listing.
      返回:
        A `ListObjectsV2Result` instance that has the listing result.
      抛出:
        `OSSException`
        `ClientException`

    - #### listObjectsV2

          ListObjectsV2Result listObjectsV2(String bucketName,
                                          String prefix,
                                          String continuationToken,
                                          String startAfter,
                                          String delimiter,
                                          Integer maxKeys,
                                          String encodingType,
                                          boolean fetchOwner)
                                            throws OSSException,
                                                   ClientException

      Lists all objects under the specified `Bucket` in the parameter of `ListObjectsRequest`
      参数:
        `bucketName` - The bucket name.
        `prefix` - The prefix restricting the objects listing.
        `continuationToken` - The continuation token allows list to be continued from a specific point. It values the last result `ListObjectsV2Result.getNextContinuationToken()`.
        `startAfter` - Where you want oss to start the object listing from.
        `delimiter` - The delimiter for condensing common prefixes in the returned listing results.
        `maxKeys` - The maximum number of results to return.
        `encodingType` - the encoding method to be applied on the response.
        `fetchOwner` - Whether to get the owner filed in the response or not.
      返回:
        A `ListObjectsV2Result` instance that has the listing result.
      抛出:
        `OSSException`
        `ClientException`

    - #### listVersions

          VersionListing listVersions(String bucketName,
                                    String prefix)
                                      throws OSSException,
                                             ClientException

      Returns a list of summary information about the versions in the specified bucket.

      The returned version summaries are ordered first by key and then by version. Keys are sorted lexicographically (alphabetically) while versions are sorted from most recent to least recent. Both versions with data and delete markers are included in the results.

      Because buckets can contain a virtually unlimited number of versions, the complete results of a list query can be extremely large. To manage large result sets, OSS uses pagination to split them into multiple responses. Always check the `VersionListing.isTruncated()` method to determine if the returned listing is complete or if additional calls are needed to get more results.

      For more information about enabling versioning for a bucket, see `setBucketVersioning(SetBucketVersioningRequest)`.

      参数:
        `bucketName` - The name of the OSS bucket whose versions are to be listed.
        `prefix` - An optional parameter restricting the response to keys beginning with the specified prefix. Use prefixes to separate a bucket into different sets of keys, similar to how a file system organizes files into directories.
      返回:
        A listing of the versions in the specified bucket, along with any other associated information and original request parameters.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `OSSClient.listVersions(ListVersionsRequest)`, `OSSClient.listVersions(String, String, String, String, String, Integer)`

    - #### listVersions

          VersionListing listVersions(String bucketName,
                                    String prefix,
                                    String keyMarker,
                                    String versionIdMarker,
                                    String delimiter,
                                    Integer maxResults)
                                      throws OSSException,
                                             ClientException

      Returns a list of summary information about the versions in the specified bucket.

      The returned version summaries are ordered first by key and then by version. Keys are sorted lexicographically (alphabetically) and versions are sorted from most recent to least recent. Versions with data and delete markers are included in the results.

      Because buckets can contain a virtually unlimited number of versions, the complete results of a list query can be extremely large. To manage large result sets, OSS uses pagination to split them into multiple responses. Always check the `VersionListing.isTruncated()` method to determine if the returned listing is complete or if additional calls are needed to get more results.

      The `keyMarker` and `versionIdMarker` parameters allow callers to specify where to start the version listing.

      The `delimiter` parameter allows groups of keys that share a delimiter-terminated prefix to be included in the returned listing. This allows applications to organize and browse their keys hierarchically, much like how a file system organizes files into directories. These common prefixes can be retrieved by calling the `VersionListing.getCommonPrefixes()` method.

      For example, consider a bucket that contains the following keys:

      - "foo/bar/baz"
      - "foo/bar/bash"
      - "foo/bar/bang"
      - "foo/boo"
      If calling `listVersions` with a `prefix` value of "foo/" and a `delimiter` value of "/" on this bucket, a `VersionListing` is returned that contains:
      - all the versions for one key ("foo/boo")
      - one entry in the common prefixes list ("foo/bar/")

      To see deeper into the virtual hierarchy, make another call to `listVersions` setting the prefix parameter to any interesting common prefix to list the individual versions under that prefix.

      For more information about enabling versioning for a bucket, see `setBucketVersioning(SetBucketVersioningRequest)`.

      参数:
        `bucketName` - The name of the OSS bucket whose versions are to be listed.
        `prefix` - An optional parameter restricting the response to keys that begin with the specified prefix. Use prefixes to separate a bucket into different sets of keys, similar to how a file system organizes files into directories.
        `keyMarker` - Optional parameter indicating where in the sorted list of all versions in the specified bucket to begin returning results. Results are always ordered first lexicographically (i.e. alphabetically) and then from most recent version to least recent version. If a keyMarker is used without a versionIdMarker, results begin immediately after that key's last version. When a keyMarker is used with a versionIdMarker, results begin immediately after the version with the specified key and version ID.

        This enables pagination; to get the next page of results use the next key marker and next version ID marker (from `VersionListing.getNextKeyMarker()` and `VersionListing.getNextVersionIdMarker()`) as the markers for the next request to list versions.

        `versionIdMarker` - Optional parameter indicating where in the sorted list of all versions in the specified bucket to begin returning results. Results are always ordered first lexicographically (i.e. alphabetically) and then from most recent version to least recent version. A keyMarker must be specified when specifying a versionIdMarker. Results begin immediately after the version with the specified key and version ID.

        This enables pagination; to get the next page of results use the next key marker and next version ID marker (from `VersionListing.getNextKeyMarker()` and `VersionListing.getNextVersionIdMarker()`) as the markers for the next request to list versions.

        `delimiter` - Optional parameter that causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the `VersionListing.getCommonPrefixes()` list. These rolled-up keys are not returned elsewhere in the response. The most commonly used delimiter is "/", which simulates a hierarchical organization similar to a file system directory structure.
        `maxResults` - Optional parameter indicating the maximum number of results to include in the response. OSS might return fewer than this, but will not return more. Even if maxResults is not specified, OSS will limit the number of results in the response.
      返回:
        A listing of the versions in the specified bucket, along with any other associated information such as common prefixes (if a delimiter was specified), the original request parameters, etc.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `OSSClient.listVersions(String, String)`, `OSSClient.listVersions(ListVersionsRequest)`

    - #### listVersions

          VersionListing listVersions(ListVersionsRequest listVersionsRequest)
                                      throws OSSException,
                                             ClientException

      Returns a list of summary information about the versions in the specified bucket.

      The returned version summaries are ordered first by key and then by version. Keys are sorted lexicographically (alphabetically) and versions are sorted from most recent to least recent. Versions with data and delete markers are included in the results.

      Because buckets can contain a virtually unlimited number of versions, the complete results of a list query can be extremely large. To manage large result sets, OSS uses pagination to split them into multiple responses. Always check the `VersionListing.isTruncated()` method to determine if the returned listing is complete or if additional calls are needed to get more results.

      The `keyMarker` and `versionIdMarker` parameters allow callers to specify where to start the version listing.

      The `delimiter` parameter allows groups of keys that share a delimiter-terminated prefix to be included in the returned listing. This allows applications to organize and browse their keys hierarchically, much like how a file system organizes files into directories. These common prefixes can be retrieved by calling the `VersionListing.getCommonPrefixes()` method.

      For example, consider a bucket that contains the following keys:

      - "foo/bar/baz"
      - "foo/bar/bash"
      - "foo/bar/bang"
      - "foo/boo"
      If calling `listVersions` with a `prefix` value of "foo/" and a `delimiter` value of "/" on this bucket, a `VersionListing` is returned that contains:
      - all the versions for one key ("foo/boo")
      - one entry in the common prefixes list ("foo/bar/")

      To see deeper into the virtual hierarchy, make another call to `listVersions` setting the prefix parameter to any interesting common prefix to list the individual versions under that prefix.

      For more information about enabling versioning for a bucket, see `setBucketVersioning(SetBucketVersioningRequest)`.

      参数:
        `listVersionsRequest` - The request object containing all options for listing the versions in a specified bucket.
      返回:
        A listing of the versions in the specified bucket, along with any other associated information such as common prefixes (if a delimiter was specified), the original request parameters, etc.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.
      另请参阅:
        `OSSClient.listVersions(String, String)`, `OSSClient.listVersions(String, String, String, String, String, Integer)`

    - #### putObject

          PutObjectResult putObject(String bucketName,
                                  String key,
                                  InputStream input)
                                    throws OSSException,
                                           ClientException

      Uploads the file to the `Bucket` from the `InputStream` instance. It overwrites the existing one and the bucket must exist.
      参数:
        `bucketName` - Bucket name.
        `key` - object key.
        `input` - `InputStream` instance to write from. The must be readable.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(String bucketName,
                                  String key,
                                  InputStream input,
                                  ObjectMetadata metadata)
                                    throws OSSException,
                                           ClientException

      Uploads the file to the `Bucket` from the @{link InputStream} with the `ObjectMetadata` information。
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `input` - `InputStream` instance to write from. It must be readable.
        `metadata` - The `ObjectMetadata` instance. If it does not specify the Content-Length information, the data is encoded by chunked tranfer encoding.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(String bucketName,
                                  String key,
                                  File file,
                                  ObjectMetadata metadata)
                                    throws OSSException,
                                           ClientException

      Uploads the file to the `Bucket` from the file with the `ObjectMetadata`.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `file` - File object to read from.
        `metadata` - The `ObjectMetadata` instance. If it does not specify the Content-Length information, the data is encoded by chunked tranfer encoding.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(String bucketName,
                                  String key,
                                  File file)
                                    throws OSSException,
                                           ClientException

      Uploads the file to the `Bucket` from the file.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `file` - File object to read from.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(PutObjectRequest putObjectRequest)
                                    throws OSSException,
                                           ClientException

      Uploads the file to `Bucket`.
      参数:
        `putObjectRequest` - The `PutObjectRequest` instance that has bucket name, object key, metadata information.
      返回:
        A `PutObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(URL signedUrl,
                                  String filePath,
                                  Map<String,String> requestHeaders)
                                    throws OSSException,
                                           ClientException

      Uploads the file from a specified file path to the signed URL with specified headers
      参数:
        `signedUrl` - Signed url, which has the bucket name, object key, account information and accessed Ids and its signature. The url is recommended to be generated by generatePresignedUrl().
        `filePath` - The file path to read from
        `requestHeaders` - Request headers, including standard or customized http headers documented by PutObject REST API.
      返回:
        A `PutObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(URL signedUrl,
                                  String filePath,
                                  Map<String,String> requestHeaders,
                                  boolean useChunkEncoding)
                                    throws OSSException,
                                           ClientException

      Uploads the file from a specified file path to the signed URL with specified headers with the flag of using chunked tranfer encoding.
      参数:
        `signedUrl` - Signed url, which has the bucket name, object key, account information and accessed Ids and its signature. The url is recommended to be generated by generatePresignedUrl().
        `filePath` - The file path to read from.
        `requestHeaders` - Request headers, including standard or customized http headers documented by PutObject REST API.
        `useChunkEncoding` - The flag of using chunked transfer encoding.
      返回:
        A `PutObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(URL signedUrl,
                                  InputStream requestContent,
                                  long contentLength,
                                  Map<String,String> requestHeaders)
                                    throws OSSException,
                                           ClientException

      Uploads the file from a InputStream instance to the signed URL with specified headers.
      参数:
        `signedUrl` - Signed Url, which has the bucket name, object key, account information and accessed Ids and its signature. The url is recommended to be generated by generatePresignedUrl().
        `requestContent` - `InputStream` instance to read from.
        `contentLength` - Hint content length to write.
        `requestHeaders` - Request headers,including standard or customized http headers documented by PutObject REST API.
      返回:
        A `PutObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### putObject

          PutObjectResult putObject(URL signedUrl,
                                  InputStream requestContent,
                                  long contentLength,
                                  Map<String,String> requestHeaders,
                                  boolean useChunkEncoding)
                                    throws OSSException,
                                           ClientException

      Uploads the file from a InputStream instance to the signed URL with specified headers.
      参数:
        `signedUrl` - Signed Url, which has the bucket name, object key, account information and accessed Ids and its signature. The url is recommended to be generated by generatePresignedUrl().
        `requestContent` - `InputStream` instance to read from.
        `contentLength` - Hint content length to write. if useChunkEncoding is true, then -1 is used.
        `requestHeaders` - Rquest headers,including standard or customized http headers documented by PutObject REST API.
        `useChunkEncoding` - The flag of using chunked transfer encoding.
      返回:
        A `PutObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### copyObject

          CopyObjectResult copyObject(String sourceBucketName,
                                    String sourceKey,
                                    String destinationBucketName,
                                    String destinationKey)
                                      throws OSSException,
                                             ClientException

      Copies an existing file in OSS from source bucket to the target bucket. If target file exists, it would be overwritten by the source file.
      参数:
        `sourceBucketName` - Source object's bucket name.
        `sourceKey` - Source object's key.
        `destinationBucketName` - Target object's bucket name.
        `destinationKey` - Target object's key.
      返回:
        A `CopyObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### copyObject

          CopyObjectResult copyObject(CopyObjectRequest copyObjectRequest)
                                      throws OSSException,
                                             ClientException

      Copies an existing file in OSS from source bucket to the target bucket. If target file exists, it would be overwritten by the source file.
      参数:
        `copyObjectRequest` - A `CopyObjectRequest` instance that specifies source file, source bucket and target file, target bucket。
      返回:
        A `CopyObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObject

          OSSObject getObject(String bucketName,
                            String key)
                              throws OSSException,
                                     ClientException

      Gets a `OSSObject` from `Bucket`.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
      返回:
        A `OSSObject` instance. The caller is responsible to close the connection after usage.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObject

          ObjectMetadata getObject(GetObjectRequest getObjectRequest,
                                 File file)
                                   throws OSSException,
                                          ClientException

      Downloads the file from a file specified by the `GetObjectRequest` parameter.
      参数:
        `getObjectRequest` - A `GetObjectRequest` instance which specifies bucket name and object key.
        `file` - Target file instance to download as.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObject

          OSSObject getObject(GetObjectRequest getObjectRequest)
                              throws OSSException,
                                     ClientException

      Gets the `OSSObject` from the bucket specified in `GetObjectRequest` parameter.
      参数:
        `getObjectRequest` - A `GetObjectRequest` instance which specifies the bucket name and the object key.
      返回:
        A `OSSObject` instance of the bucket file. The caller is responsible to close the connection after usage.
      抛出:
        `OSSException`
        `ClientException`

    - #### selectObject

          OSSObject selectObject(SelectObjectRequest selectObjectRequest)
                                 throws OSSException,
                                        ClientException

      Select the `OSSObject` from the bucket specified in `SelectObjectRequest` parameter
      参数:
        `selectObjectRequest` - A `SelectObjectRequest` instance which specifies the bucket name object key filter expression input serialization output serialization
      返回:
        A `OSSObject` instance will be returned. The caller is responsible to close the connection after usage.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObject

          OSSObject getObject(URL signedUrl,
                            Map<String,String> requestHeaders)
                              throws OSSException,
                                     ClientException

      Gets the `OSSObject` from the signed Url.
      参数:
        `signedUrl` - The signed Url.
        `requestHeaders` - Request headers, including http standard or OSS customized headers.
      返回:
        A`OSSObject` instance.The caller is responsible to close the connection after usage.
      抛出:
        `OSSException`
        `ClientException`

    - #### getSimplifiedObjectMeta

          SimplifiedObjectMeta getSimplifiedObjectMeta(String bucketName,
                                                     String key)
                                                       throws OSSException,
                                                              ClientException

      Gets the simplified metadata information of `OSSObject`.

      Simplified metadata includes ETag, Size, LastModified and thus it's more lightweight then GetObjectMeta().

      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
      返回:
        A `SimplifiedObjectMeta` instance of the object.
      抛出:
        `OSSException`
        `ClientException`

    - #### getSimplifiedObjectMeta

          SimplifiedObjectMeta getSimplifiedObjectMeta(GenericRequest genericRequest)
                                                       throws OSSException,
                                                              ClientException

      Gets the simplified metadata information of `OSSObject`.

      Simplified metadata includes ETag, Size, LastModified and thus it's more lightweight then GetObjectMeta().

      参数:
        `genericRequest` - Generic request which specifies the bucket name and object key
      返回:
        The `SimplifiedObjectMeta` instance of specified file.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectMetadata

          ObjectMetadata getObjectMetadata(String bucketName,
                                         String key)
                                           throws OSSException,
                                                  ClientException

      Gets all the metadata of `OSSObject`.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
      返回:
        The `ObjectMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectMetadata

          ObjectMetadata getObjectMetadata(GenericRequest genericRequest)
                                           throws OSSException,
                                                  ClientException

      Gets all the metadata of `OSSObject`.
      参数:
        `genericRequest` - Generic request which specifies the bucket name and object key.
      返回:
        The `ObjectMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### createSelectObjectMetadata

          SelectObjectMetadata createSelectObjectMetadata(CreateSelectObjectMetadataRequest createSelectObjectMetadataRequest)
                                                          throws OSSException,
                                                                 ClientException

      Create select object metadata(create metadata if not exists or overwrite flag set in `CreateSelectObjectMetadataRequest`)
      参数:
        `createSelectObjectMetadataRequest` - `CreateSelectObjectMetadataRequest` create select object metadata request.
      返回:
        The `SelectObjectMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### headObject

          ObjectMetadata headObject(String bucketName,
                                  String key)
                                    throws OSSException,
                                           ClientException

      Gets all the head data of `OSSObject`.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
      返回:
        The `ObjectMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### headObject

          ObjectMetadata headObject(HeadObjectRequest headObjectRequest)
                                    throws OSSException,
                                           ClientException

      Gets all the head data of `OSSObject`.
      参数:
        `headObjectRequest` - A `HeadObjectRequest` instance which specifies the bucket name and object key, and some constraint information can be set.
      返回:
        The `ObjectMetadata` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### appendObject

          AppendObjectResult appendObject(AppendObjectRequest appendObjectRequest)
                                          throws OSSException,
                                                 ClientException

      Append the data to the appendable object specified in `AppendObjectRequest`. It's not applicable to normal OSS object.
      参数:
        `appendObjectRequest` - A `AppendObjectRequest` instance which specifies the bucket name, appendable object key, the file or the InputStream object to append.
      返回:
        A `AppendObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteObject

          void deleteObject(String bucketName,
                          String key)
                            throws OSSException,
                                   ClientException

      Deletes the specified `OSSObject` by bucket name and object key.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteObject

          void deleteObject(GenericRequest genericRequest)
                            throws OSSException,
                                   ClientException

      Deletes the specified `OSSObject` by the `GenericRequest` instance.
      参数:
        `genericRequest` - The `GenericRequest` instance that specfies the bucket name and object key.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteObjects

          DeleteObjectsResult deleteObjects(DeleteObjectsRequest deleteObjectsRequest)
                                            throws OSSException,
                                                   ClientException

      Batch deletes the specified files under a specific bucket. If the files are non-exist, the operation will still return successful.
      参数:
        `deleteObjectsRequest` - A `DeleteObjectsRequest` instance which specifies the bucket and file keys to delete.
      返回:
        A `DeleteObjectsResult` instance which specifies each file's result in normal mode or only failed deletions in quite mode. By default it's normal mode.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteVersion

          void deleteVersion(String bucketName,
                           String key,
                           String versionId)
                             throws OSSException,
                                    ClientException

      Deletes a specific version of the specified object in the specified bucket. Once deleted, there is no method to restore or undelete an object version. This is the only way to permanently delete object versions that are protected by versioning.

      Deleting an object version is permanent and irreversible. It is a privileged operation that only the owner of the bucket containing the version can perform.

      Users can only delete a version of an object if versioning is enabled for the bucket. For more information about enabling versioning for a bucket, see `setBucketVersioning(SetBucketVersioningRequest)`.

      If attempting to delete an object that does not exist, OSS will return a success message instead of an error message.

      参数:
        `bucketName` - The name of the OSS bucket containing the object to delete.
        `key` - The key of the object to delete.
        `versionId` - The version of the object to delete.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.

    - #### deleteVersion

          void deleteVersion(DeleteVersionRequest deleteVersionRequest)
                             throws OSSException,
                                    ClientException

      Deletes a specific version of an object in the specified bucket. Once deleted, there is no method to restore or undelete an object version. This is the only way to permanently delete object versions that are protected by versioning.

      Deleting an object version is permanent and irreversible. It is a privileged operation that only the owner of the bucket containing the version can perform.

      Users can only delete a version of an object if versioning is enabled for the bucket. For more information about enabling versioning for a bucket, see `setBucketVersioning(SetBucketVersioningRequest)`.

      If attempting to delete an object that does not exist, OSS will return a success message instead of an error message.

      参数:
        `deleteVersionRequest` - The request object containing all options for deleting a specific version of an OSS object.
      抛出:
        `ClientException` - If any errors are encountered in the client while making the request or handling the response.
        `OSSException` - If any errors occurred in OSS while processing the request.

    - #### deleteVersions

          DeleteVersionsResult deleteVersions(DeleteVersionsRequest deleteVersionsRequest)
                                              throws OSSException,
                                                     ClientException

      Batch deletes the specified object versions under a specific bucket. If the versions are non-exist, the operation will still return successful.
      参数:
        `deleteVersionsRequest` - A `DeleteVersionsRequest` instance which specifies the bucket and file keys to delete.
      返回:
        A `DeleteVersionsResult` instance which specifies each file's result in normal mode or only failed deletions in quite mode. By default it's normal mode.
      抛出:
        `OSSException`
        `ClientException`

    - #### doesObjectExist

          boolean doesObjectExist(String bucketName,
                                String key)
                                  throws OSSException,
                                         ClientException

      Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
      返回:
        True if exists; false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### doesObjectExist

          boolean doesObjectExist(GenericRequest genericRequest)
                                  throws OSSException,
                                         ClientException

      Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
      参数:
        `genericRequest` - A `GenericRequest` instance which specifies the bucket and object key.
      返回:
        True if exists; false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### doesObjectExist

          boolean doesObjectExist(String bucketName,
                                String key,
                                boolean isOnlyInOSS)

      Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will impact the result of this function if isOnlyInOSS is true.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
        `isOnlyInOSS` - true if ignore 302 redirect or mirroring； false if considering 302 redirect or mirroring, which could download the object from source to OSS when the file exists in source but is not in OSS yet.
      返回:
        True if the file exists; false if not.

    - #### doesObjectExist

          boolean doesObjectExist(GenericRequest genericRequest,
                                boolean isOnlyInOSS)
                                  throws OSSException,
                                         ClientException

      Checks if a specific `OSSObject` exists under the specific `Bucket`. 302 Redirect or OSS mirroring will not impact the result of this function.
      参数:
        `genericRequest` - A `GenericRequest` instance which specifies the bucket and object key.
        `isOnlyInOSS` - true if ignore 302 redirect or mirroring； false if considering 302 redirect or mirroring, which could download the object from source to OSS when the file exists in source but is not in OSS yet.
      返回:
        True if exists; false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### doesObjectExist

          @Deprecated
          boolean doesObjectExist(HeadObjectRequest headObjectRequest)
                                  throws OSSException,
                                         ClientException

      已过时。
      Checks if a specific `OSSObject` exists.
      参数:
        `headObjectRequest` - A `HeadObjectRequest` instance which specifies the bucket name and object key. Constraint information is ignored.
      返回:
        True if the file exists; false if not.
      抛出:
        `OSSException`
        `ClientException`

    - #### setObjectAcl

          void setObjectAcl(String bucketName,
                          String key,
                          CannedAccessControlList cannedAcl)
                            throws OSSException,
                                   ClientException

      Sets the Access Control List (ACL) on a `OSSObject` instance.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
        `cannedAcl` - One of the three values: Private, PublicRead or PublicReadWrite.
      抛出:
        `OSSException`
        `ClientException`

    - #### setObjectAcl

          void setObjectAcl(SetObjectAclRequest setObjectAclRequest)
                            throws OSSException,
                                   ClientException

      Sets the Access Control List (ACL) on a `OSSObject` instance.
      参数:
        `setObjectAclRequest` - A `SetObjectAclRequest` instance which specifies the object's bucket name and key as well as the ACL information.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectAcl

          ObjectAcl getObjectAcl(String bucketName,
                               String key)
                                 throws OSSException,
                                        ClientException

      Gets the Access Control List (ACL) of the OSS object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
      返回:
        The `ObjectAcl` instance of the object.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectAcl

          ObjectAcl getObjectAcl(GenericRequest genericRequest)
                                 throws OSSException,
                                        ClientException

      Gets the Access Control List (ACL) of the OSS object.
      参数:
        `genericRequest` - A `GenericRequest` instance which specifies the bucket name and object key.
      抛出:
        `OSSException`
        `ClientException`

    - #### restoreObject

          RestoreObjectResult restoreObject(String bucketName,
                                          String key)
                                            throws OSSException,
                                                   ClientException

      Restores the object of archive storage. The function is not applicable to Normal or IA storage. The restoreObject() needs to be called prior to calling getObject() on an archive object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
      返回:
        A `RestoreObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### restoreObject

          RestoreObjectResult restoreObject(GenericRequest genericRequest)
                                            throws OSSException,
                                                   ClientException

      Restores the object of archive storage. The function is not applicable to Normal or IA storage. The restoreObject() needs to be called prior to calling getObject() on an archive object.
      参数:
        `genericRequest` - A `GenericRequest` instance that specifies the bucket name and object key.
      返回:
        A `RestoreObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### restoreObject

          RestoreObjectResult restoreObject(String bucketName,
                                          String key,
                                          RestoreConfiguration restoreConfiguration)
                                            throws OSSException,
                                                   ClientException

      Restores the object of archive storage. The function is not applicable to Normal or IA storage. The restoreObject() needs to be called prior to calling getObject() on an archive object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
        `restoreConfiguration` - A `RestoreConfiguration` instance that specifies the restore configuration.
      返回:
        A `RestoreObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### restoreObject

          RestoreObjectResult restoreObject(RestoreObjectRequest restoreObjectRequest)
                                            throws OSSException,
                                                   ClientException

      Restores the object of archive storage. The function is not applicable to Normal or IA storage. The restoreObject() needs to be called prior to calling getObject() on an archive object.
      参数:
        `restoreObjectRequest` - A `RestoreObjectRequest` instance that specifies the bucket name, object key and restore configuration.
      返回:
        A `RestoreObjectResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### setObjectTagging

          void setObjectTagging(String bucketName,
                              String key,
                              Map<String,String> tags)
                                throws OSSException,
                                       ClientException

      Sets the tags on the OSS object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object name.
        `tags` - The dictionary that contains the tags in the form of <key, value> pairs.
      抛出:
        `OSSException`
        `ClientException`

    - #### setObjectTagging

          void setObjectTagging(String bucketName,
                              String key,
                              TagSet tagSet)
                                throws OSSException,
                                       ClientException

      Sets the tags on the OSS object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object name.
        `tagSet` - `TagSet` instance that has the tags in the form of <key, value> pairs.
      抛出:
        `OSSException`
        `ClientException`

    - #### setObjectTagging

          void setObjectTagging(SetObjectTaggingRequest setObjectTaggingRequest)
                                throws OSSException,
                                       ClientException

      Sets the tags on the OSS object.
      参数:
        `setObjectTaggingRequest` - `SetObjectTaggingRequest` instance that has object information as well as tagging information.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectTagging

          TagSet getObjectTagging(String bucketName,
                                String key)
                                  throws OSSException,
                                         ClientException

      Gets all tags of the OSS object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object name.
      返回:
        A `TagSet` instance. If there's no tag, the TagSet object with empty tag information is returned.
      抛出:
        `OSSException`
        `ClientException`

    - #### getObjectTagging

          TagSet getObjectTagging(GenericRequest genericRequest)
                                  throws OSSException,
                                         ClientException

      Gets all tags of the OSS object.
      参数:
        `genericRequest` - A `GenericRequest` instance that specifies the bucket name and object name.
      返回:
        A `TagSet` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteObjectTagging

          void deleteObjectTagging(String bucketName,
                                 String key)
                                   throws OSSException,
                                          ClientException

      Clears all the tags of the OSS object.
      参数:
        `bucketName` - Bucket name.
        `key` - Object name.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteObjectTagging

          void deleteObjectTagging(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Clears all the tags of the OSS object.
      参数:
        `genericRequest` - A `GenericRequest` instance that specifies the bucket name and object name.
      抛出:
        `OSSException`
        `ClientException`

    - #### generatePresignedUrl

          URL generatePresignedUrl(String bucketName,
                                 String key,
                                 Date expiration)
                                   throws ClientException

      Generates a signed url for accessing the `OSSObject` with HTTP GET method.
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `expiration` - URL's expiration time.
      返回:
        A signed URL that could be used for accessing the `OSSObject` object.
      抛出:
        `ClientException`

    - #### generatePresignedUrl

          URL generatePresignedUrl(String bucketName,
                                 String key,
                                 Date expiration,
                                 HttpMethod method)
                                   throws ClientException

      Generates a signed url for accessing the `OSSObject` with a specific HTTP method.
      参数:
        `bucketName` - Bucket name.
        `key` - Object Key.
        `expiration` - URL's expiration time.
        `method` - HTTP method，Only `HttpMethod.GET` and `HttpMethod.PUT` are supported.
      返回:
        A signed URL that could be used for accessing the `OSSObject` object.
      抛出:
        `ClientException`

    - #### generatePresignedUrl

          URL generatePresignedUrl(GeneratePresignedUrlRequest request)
                                   throws ClientException

      Generates a signed url for accessing the `OSSObject` with a specific HTTP method.
      参数:
        `request` - A `GeneratePresignedUrlRequest` instance which specifies the bucket name, file key, expiration time, HTTP method, and the MD5 signature of the content, etc.
      返回:
        A signed URL that could be used for accessing the `OSSObject` object.
      抛出:
        `ClientException`

    - #### putBucketImage

          void putBucketImage(PutBucketImageRequest request)
                              throws OSSException,
                                     ClientException

      Sets image processing attributes on the specific `Bucket`
      参数:
        `request` - A `PutBucketImageRequest` instances which specifies some attributes of image processing.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketImage

          GetBucketImageResult getBucketImage(String bucketName)
                                              throws OSSException,
                                                     ClientException

      Gets the image processing attributes on the specific `Bucket`.
      参数:
        `bucketName` - The bucket name
      返回:
        A `GetBucketImageResult` instance which has attributes of image processing
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketImage

          GetBucketImageResult getBucketImage(String bucketName,
                                            GenericRequest genericRequest)
                                              throws OSSException,
                                                     ClientException

      Gets the image processing attributes on the specific `Bucket`.
      参数:
        `bucketName` - The bucket name.
        `genericRequest` - The origin request.
      返回:
        A `GetBucketImageResult` which has the attributes of image processing.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketImage

          void deleteBucketImage(String bucketName)
                                 throws OSSException,
                                        ClientException

      Deletes the image processing attributes on the specific `Bucket`.
      参数:
        `bucketName` - Bucket name
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketImage

          void deleteBucketImage(String bucketName,
                               GenericRequest genericRequest)
                                 throws OSSException,
                                        ClientException

      Deletes the image processing attributes on the specific `Bucket`.
      参数:
        `bucketName` - Bucket name
        `genericRequest` - The origin request
        `genericRequest` -
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteImageStyle

          void deleteImageStyle(String bucketName,
                              String styleName)
                                throws OSSException,
                                       ClientException

      Deletes a style named by parameter styleName under `Bucket`
      参数:
        `bucketName` - Bucket name
        `styleName` - Style name
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteImageStyle

          void deleteImageStyle(String bucketName,
                              String styleName,
                              GenericRequest genericRequest)
                                throws OSSException,
                                       ClientException

      Deletes a style named by parameter styleName under `Bucket`
      参数:
        `bucketName` - Bucket name
        `styleName` - Style name
        `genericRequest` - The origin request
      抛出:
        `OSSException`
        `ClientException`

    - #### putImageStyle

          void putImageStyle(PutImageStyleRequest putImageStyleRequest)
                             throws OSSException,
                                    ClientException

      Adds a new style under `Bucket`.
      参数:
        `putImageStyleRequest` - A `PutImageStyleRequest` instance that has bucket name and style information
      抛出:
        `OSSException`
        `ClientException`

    - #### getImageStyle

          GetImageStyleResult getImageStyle(String bucketName,
                                          String styleName)
                                            throws OSSException,
                                                   ClientException

      Gets a style named by parameter styleName under `Bucket`
      参数:
        `bucketName` - Bucket name.
        `styleName` - Style name.
      返回:
        A `GetImageStyleResult` instance which has the style information if successful or error code if failed.
      抛出:
        `OSSException`
        `ClientException`

    - #### getImageStyle

          GetImageStyleResult getImageStyle(String bucketName,
                                          String styleName,
                                          GenericRequest genericRequest)
                                            throws OSSException,
                                                   ClientException

      Gets a style named by parameter styleName under the `Bucket`
      参数:
        `bucketName` - Bucket name.
        `styleName` - Style name.
        `genericRequest` - The origin request.
      返回:
        A `GetImageStyleResult` instance which has the style information if successful or error code if failed.
      抛出:
        `OSSException`
        `ClientException`

    - #### listImageStyle

          List<Style> listImageStyle(String bucketName)
                                     throws OSSException,
                                            ClientException

      Lists all styles under the `Bucket`
      参数:
        `bucketName` - Bucket name.
      返回:
        A `List` of all styles of the Bucket. If there's no style, it will be an empty list.
      抛出:
        `OSSException`
        `ClientException`

    - #### listImageStyle

          List<Style> listImageStyle(String bucketName,
                                   GenericRequest genericRequest)
                                     throws OSSException,
                                            ClientException

      Lists all styles under the `Bucket`
      参数:
        `bucketName` - Bucket name.
        `genericRequest` - The origin request.
      返回:
        A `List` of all styles of the Bucket. If there's no style, it will be an empty list.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketProcess

          void setBucketProcess(SetBucketProcessRequest setBucketProcessRequest)
                                throws OSSException,
                                       ClientException

      Creates the image accessing configuration according to the parameter setBucketProcessRequest.
      参数:
        `setBucketProcessRequest` - A `SetBucketTaggingRequest` instance that contains the image accessing configuration such as enable original picture protection, etc.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketProcess

          BucketProcess getBucketProcess(String bucketName)
                                         throws OSSException,
                                                ClientException

      Gets the bucket's image accessing configuration.
      参数:
        `bucketName` - Bucket name.
      返回:
        A `BucketProcess` which contains the image accessing configurations if succeeds.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketProcess

          BucketProcess getBucketProcess(GenericRequest genericRequest)
                                         throws OSSException,
                                                ClientException

      Get the bucket's image accessing configuration
      参数:
        `genericRequest` - A `GenericRequest` instance that has the bucket name.
      返回:
        A `BucketProcess` which contains the image accessing configurations if succeeds.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### initiateMultipartUpload

          InitiateMultipartUploadResult initiateMultipartUpload(InitiateMultipartUploadRequest request)
                                                                throws OSSException,
                                                                       ClientException

      Initiates a multiple part upload

      Prior to starting a multiple part upload, this method needs to be called to ask OSS service do some initialization work. Upon a successful call, it returns a globally unique upload ID which could be used for the subsequent operations such as pause, lookup multiple parts, etc. This method will not automatically retry even if the max retry count is greater than 0, because it's not idempotent.

      参数:
        `request` - A `InitiateMultipartUploadRequest` instance which specifies the bucket name, object key and metadata.
      返回:
        a `InitiateMultipartUploadResult` instance which has the global unique id if succeeds.
      抛出:
        `ClientException`
        `OSSException`

    - #### listMultipartUploads

          MultipartUploadListing listMultipartUploads(ListMultipartUploadsRequest request)
                                                      throws OSSException,
                                                             ClientException

      Lists executing multiple parts uploads.

      Those initialized but not finished multipart uploads would be listed by this method. If the executing multiple parts upload count is more than maxUploads (which could be up to 1000), then it would return the nextUploadIdMaker and nextKeyMaker which could be used for next call. When keyMarker in parameter request is specified, it would list executing multipart uploads whose keys are greater than the keyMarker in lexicographic order and multipart uploads whose keys are equal to the keyMarker and uploadIds are greater than uploadIdMarker in lexicographic order. In the other words, the keyMarker has the priority over the uploadIdMarker and uploadIdMarker only impacts the uploads who has the same keys as the keyMarker.

      参数:
        `request` - A `ListMultipartUploadsRequest` instance.
      返回:
        MultipartUploadListing A `MultipartUploadListing` instance. Upon a successful call, it may has nextKeyMarker and nextUploadIdMarker for the next call in case OSS has remaining uploads not returned.
      抛出:
        `ClientException`
        `OSSException`

    - #### listParts

          PartListing listParts(ListPartsRequest request)
                                throws OSSException,
                                       ClientException

      Lists all parts in a multiple parts upload.
      参数:
        `request` - A `ListPartsRequest` instance.
      返回:
        PartListing
      抛出:
        `ClientException`
        `OSSException`

    - #### uploadPart

          UploadPartResult uploadPart(UploadPartRequest request)
                                      throws OSSException,
                                             ClientException

      Uploads a part to a specified multiple upload.
      参数:
        `request` - A `UploadPartRequest` instance which specifies bucket, object key, upload id, part number, content and length, MD5 digest and chunked transfer encoding flag.
      返回:
        UploadPartResult A `UploadPartResult` instance to indicate the upload result.
      抛出:
        `ClientException`
        `OSSException`

    - #### uploadPartCopy

          UploadPartCopyResult uploadPartCopy(UploadPartCopyRequest request)
                                              throws OSSException,
                                                     ClientException

      Uploads Part copy from an existing source object to a target object with specified upload Id and part number
      参数:
        `request` - A `UploadPartCopyRequest` instance which specifies: 1) source file 2) source file's copy range 3) target file 4) target file's upload Id and its part number 5) constraints such as ETag match or non-match, last modified match or non-match, etc.
      返回:
        A `UploadPartCopyResult` instance which has the part number and ETag upon a successful upload.
      抛出:
        `OSSException`
        `ClientException`

    - #### abortMultipartUpload

          void abortMultipartUpload(AbortMultipartUploadRequest request)
                                    throws OSSException,
                                           ClientException

      Abort a multiple parts upload. All uploaded data will be released in OSS. The executing uploads of the same upload Id will get immediate failure once this method is called.
      参数:
        `request` - A `AbortMultipartUploadRequest` instance which specifies the file name and the upload Id to abort.
      抛出:
        `ClientException`
        `OSSException`

    - #### completeMultipartUpload

          CompleteMultipartUploadResult completeMultipartUpload(CompleteMultipartUploadRequest request)
                                                                throws OSSException,
                                                                       ClientException

      Complete a multiple parts upload.

      After all parts uploads finish, this API needs to be called to finalize the upload. All parts' number and their ETag are required and if ETag verification is not passed, the API will fail. The parts' are not necessarily ordered and the final file's content is determined by the order in partETags list.

      The API will not automatically retry even if the max retry count is greater than 0 because it's not idempotent.

      参数:
        `request` - A `CompleteMultipartUploadRequest` instance which specifies all parameters to complete multiple part upload.
      返回:
        A `CompleteMultipartUploadResult` instance which has the key, ETag, url of the final object.
      抛出:
        `ClientException`
        `OSSException`

    - #### setBucketCORS

          void setBucketCORS(SetBucketCORSRequest request)
                             throws OSSException,
                                    ClientException

      Adds CORS rules to the bucket. If the same source has been specified with other rules, this will overwrite (not merge) them. For example, if alibaba-inc.com is a trusted source and was specified to allow GET Method. Then in this request, it's specified with POST Method. In the end, alibaba-inc.com will only be allowed with POST method.
      参数:
        `request` - A `SetBucketCORSRequest` object that has defined all CORS rules.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketCORSRules

          List<SetBucketCORSRequest.CORSRule> getBucketCORSRules(String bucketName)
                                                                 throws OSSException,
                                                                        ClientException

      Lists all CORS rules from the bucket.
      参数:
        `bucketName` - Bucket name.
      返回:
        A list of `SetBucketCORSRequest.CORSRule` under the bucket.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketCORSRules

          List<SetBucketCORSRequest.CORSRule> getBucketCORSRules(GenericRequest genericRequest)
                                                                 throws OSSException,
                                                                        ClientException

      Lists all CORS rules from the bucket.
      参数:
        `genericRequest` - A `GenericRequest` instance that specifies the bucket name.
      返回:
        A list of `SetBucketCORSRequest.CORSRule` under the bucket.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketCORS

          CORSConfiguration getBucketCORS(GenericRequest genericRequest)
                                          throws OSSException,
                                                 ClientException

      Get CORS configuration from the bucket.
      参数:
        `genericRequest` - A `GenericRequest` instance that specifies the bucket name.
      返回:
        A `CORSConfiguration` instance which has the CORS configuration under the bucket.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketCORSRules

          void deleteBucketCORSRules(String bucketName)
                                     throws OSSException,
                                            ClientException

      Deletes all CORS rules under the bucket.
      参数:
        `bucketName` - The bucket name.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketCORSRules

          void deleteBucketCORSRules(GenericRequest genericRequest)
                                     throws OSSException,
                                            ClientException

      Deletes all CORS rules under the bucket.
      参数:
        `genericRequest` - The `GenericRequest` instance that specifies the bucket name.
      抛出:
        `OSSException`
        `ClientException`

    - #### optionsObject

          @Deprecated
          ResponseMessage optionsObject(OptionsRequest request)
                                        throws OSSException,
                                               ClientException

      已过时。
      Deprecated method.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketLogging

          void setBucketLogging(SetBucketLoggingRequest request)
                                throws OSSException,
                                       ClientException

      Enables or disables the `Bucket`'s logging. To enable the logging, the TargetBucket attribute in SetBucketLoggingRequest object must be specified. To disable the logging, the TargetBucket attribute in SetBucketLoggingRequest object must be null. The logging file will be hourly rolling log.
      参数:
        `request` - A `SetBucketLoggingRequest` instance which specifies the bucket name to set the logging, the target bucket to store the logging data and the prefix of the logging file.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketLogging

          BucketLoggingResult getBucketLogging(String bucketName)
                                               throws OSSException,
                                                      ClientException

      Gets the `Bucket`'s logging setting.
      参数:
        `bucketName` - The bucket name.
      返回:
        A `BucketLoggingResult` instance which contains the logging settings such as target bucket for data, logging file prefix.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketLogging

          BucketLoggingResult getBucketLogging(GenericRequest genericRequest)
                                               throws OSSException,
                                                      ClientException

      Gets the `Bucket`'s logging setting.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `BucketLoggingResult` instance which contains the logging settings such as target bucket for data, logging file prefix.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketLogging

          void deleteBucketLogging(String bucketName)
                                   throws OSSException,
                                          ClientException

      Disables the logging on `Bucket`.
      参数:
        `bucketName` - Bucket Name
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketLogging

          void deleteBucketLogging(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Disables the logging on `Bucket`.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      抛出:
        `OSSException`
        `ClientException`

    - #### setBucketWebsite

          void setBucketWebsite(SetBucketWebsiteRequest setBucketWebSiteRequest)
                                throws OSSException,
                                       ClientException

      Sets the static website settings for the `Bucket`. The settings includes the mandatory home page, the optional 404 page and the routing rules. If home page is null, then the static website is not enabled on the bucket.
      参数:
        `setBucketWebSiteRequest` - A `SetBucketWebsiteRequest` instance to set with.
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketWebsite

          BucketWebsiteResult getBucketWebsite(String bucketName)
                                               throws OSSException,
                                                      ClientException

      Gets the `Bucket`'s static website settings.
      参数:
        `bucketName` - The bucket name.
      返回:
        A `BucketWebsiteResult` instance
      抛出:
        `OSSException`
        `ClientException`

    - #### getBucketWebsite

          BucketWebsiteResult getBucketWebsite(GenericRequest genericRequest)
                                               throws OSSException,
                                                      ClientException

      Gets the `Bucket`'s static webite settings.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `BucketWebsiteResult` instance.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketWebsite

          void deleteBucketWebsite(String bucketName)
                                   throws OSSException,
                                          ClientException

      Deletes the `Bucket`'s static website configuration, which means disabling the static website on the bucket.
      参数:
        `bucketName` - Bucket name
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketWebsite

          void deleteBucketWebsite(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Deletes the `Bucket`'s static website configuration, which means disabling the static website on the bucket.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      抛出:
        `OSSException`
        `ClientException`

    - #### generatePostPolicy

          String generatePostPolicy(Date expiration,
                                  PolicyConditions conds)
                                    throws ClientException

      Generates the post policy form field in JSON format.
      参数:
        `expiration` - Policy expiration time.
        `conds` - Policy condition lists.
      返回:
        Policy string in JSON format.
      抛出:
        `ClientException`

    - #### calculatePostSignature

          String calculatePostSignature(String postPolicy)

      Calculates the signature based on the policy and access key secret.
      参数:
        `postPolicy` - Post policy string in JSON which is generated from `generatePostPolicy(Date, PolicyConditions)`.
      返回:
        Post signature in bas464 string.

    - #### setBucketLifecycle

          void setBucketLifecycle(SetBucketLifecycleRequest setBucketLifecycleRequest)
                                  throws OSSException,
                                         ClientException

      Sets the `Bucket`'s lifecycle rule.
      参数:
        `setBucketLifecycleRequest` - A `SetBucketWebsiteRequest` instance which specifies the lifecycle rules
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketLifecycle

          List<LifecycleRule> getBucketLifecycle(String bucketName)
                                                 throws OSSException,
                                                        ClientException

      Gets the `Bucket`'s lifecycle rules.
      参数:
        `bucketName` - Bucket name.
      返回:
        A list of `LifecycleRule`.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketLifecycle

          List<LifecycleRule> getBucketLifecycle(GenericRequest genericRequest)
                                                 throws OSSException,
                                                        ClientException

      Gets the `Bucket`'s Lifecycle rules.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A List of `LifecycleRule` instances.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketLifecycle

          void deleteBucketLifecycle(String bucketName)
                                     throws OSSException,
                                            ClientException

      Deletes all the `Bucket`'s Lifecycle rules.
      参数:
        `bucketName` - The bucket name to operate on.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketLifecycle

          void deleteBucketLifecycle(GenericRequest genericRequest)
                                     throws OSSException,
                                            ClientException

      Deletes all the `Bucket`'s Lifecycle rules.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### addBucketReplication

          void addBucketReplication(AddBucketReplicationRequest addBucketReplicationRequest)
                                    throws OSSException,
                                           ClientException

      Adds a `Bucket`'s cross-region replication rule.
      参数:
        `addBucketReplicationRequest` - A `AddBucketReplicationRequest` instance which specifies a replication rule.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplication

          List<ReplicationRule> getBucketReplication(String bucketName)
                                                     throws OSSException,
                                                            ClientException

      Gets all the `Bucket`'s cross region replication rules.
      参数:
        `bucketName` - Bucket name.
      返回:
        A list of `ReplicationRule` under the bucket.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplication

          List<ReplicationRule> getBucketReplication(GenericRequest genericRequest)
                                                     throws OSSException,
                                                            ClientException

      Gets all the `Bucket`'s cross region replication rules.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A list of `ReplicationRule` under the bucket.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketReplication

          void deleteBucketReplication(String bucketName,
                                     String replicationRuleID)
                                       throws OSSException,
                                              ClientException

      Deletes the specified `Bucket`'s cross region replication rule.
      参数:
        `bucketName` - Bucket name.
        `replicationRuleID` - Replication Id to delete.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketReplication

          void deleteBucketReplication(DeleteBucketReplicationRequest deleteBucketReplicationRequest)
                                       throws OSSException,
                                              ClientException

      Deletes the specified `Bucket`'s cross region replication rule.
      参数:
        `deleteBucketReplicationRequest` - The `DeleteBucketReplicationRequest` instance which specifies the replication rule Id to delete.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplicationProgress

          BucketReplicationProgress getBucketReplicationProgress(String bucketName,
                                                               String replicationRuleID)
                                                                 throws OSSException,
                                                                        ClientException

      Gets the `Bucket`'s progress of the specified cross region replication rule.
      参数:
        `bucketName` - Bucket name.
        `replicationRuleID` - Replication Rule Id.
      返回:
        The new data's and historical data's replication progress in float.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplicationProgress

          BucketReplicationProgress getBucketReplicationProgress(GetBucketReplicationProgressRequest getBucketReplicationProgressRequest)
                                                                 throws OSSException,
                                                                        ClientException

      Gets the `Bucket`'s progress of the specified cross region replication rule.
      参数:
        `getBucketReplicationProgressRequest` - The `GetBucketReplicationProgressRequest` instance which specifies the replication rule Id and bucket name.
      返回:
        The new data's and historical data's replication progress in float.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplicationLocation

          List<String> getBucketReplicationLocation(String bucketName)
                                                    throws OSSException,
                                                           ClientException

      Gets the `Bucket`'s replication reachable data centers.
      参数:
        `bucketName` - Bucket name.
      返回:
        Replication reachable data center list.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketReplicationLocation

          List<String> getBucketReplicationLocation(GenericRequest genericRequest)
                                                    throws OSSException,
                                                           ClientException

      Gets the `Bucket`'s replication reachable data centers.
      参数:
        `genericRequest` - The `GenericRequest` instance that specifies the bucket name.
      返回:
        Replication reachable data center list.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### addBucketCname

          void addBucketCname(AddBucketCnameRequest addBucketCnameRequest)
                              throws OSSException,
                                     ClientException

      Adds a Cname for the `Bucket` instance.
      参数:
        `addBucketCnameRequest` - The request specifies the bucket name and the Cname information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketCname

          List<CnameConfiguration> getBucketCname(String bucketName)
                                                  throws OSSException,
                                                         ClientException

      Gets the `Bucket`'s Cnames.
      参数:
        `bucketName` - Bucket name.
      返回:
        The list of Cnames under the bucket.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketCname

          List<CnameConfiguration> getBucketCname(GenericRequest genericRequest)
                                                  throws OSSException,
                                                         ClientException

      Gets the `Bucket`'s Cnames.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        The list of Cnames under the bucket.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketCname

          void deleteBucketCname(String bucketName,
                               String domain)
                                 throws OSSException,
                                        ClientException

      Deletes one `Bucket`'s Cname specified by the parameter domain.
      参数:
        `bucketName` - The bucket name。
        `domain` - cname。
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketCname

          void deleteBucketCname(DeleteBucketCnameRequest deleteBucketCnameRequest)
                                 throws OSSException,
                                        ClientException

      Deletes one `Bucket`'s specific Cname specified by the parameter domain.
      参数:
        `deleteBucketCnameRequest` - A `DeleteBucketCnameRequest` instance that specifies the bucket name and the domain name to delete
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketInfo

          BucketInfo getBucketInfo(String bucketName)
                                   throws OSSException,
                                          ClientException

      Gets the `Bucket`'s basic information as well as its ACL.
      参数:
        `bucketName` - The bucket name。
      返回:
        A `BucketInfo` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketInfo

          BucketInfo getBucketInfo(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Gets the `Bucket`'s basic information as well as its ACL.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `BucketInfo` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketStat

          BucketStat getBucketStat(String bucketName)
                                   throws OSSException,
                                          ClientException

      Gets the `Bucket`'s storage information such as object counts, storage size and executing multipart uploads.
      参数:
        `bucketName` - The bucket name。
      返回:
        A `BucketStat` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketStat

          BucketStat getBucketStat(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Gets the `Bucket`'s storage information such as object counts, storage size and executing multipart uploads.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `BucketStat` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketStorageCapacity

          void setBucketStorageCapacity(String bucketName,
                                      UserQos userQos)
                                        throws OSSException,
                                               ClientException

      Sets the capacity of the `Bucket`.
      参数:
        `bucketName` - The bucket name。
        `userQos` - A `UserQos` instance which specifies the capacity in GB
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketStorageCapacity

          void setBucketStorageCapacity(SetBucketStorageCapacityRequest setBucketStorageCapacityRequest)
                                        throws OSSException,
                                               ClientException

      Sets the capacity of the `Bucket`.
      参数:
        `setBucketStorageCapacityRequest` - A `SetBucketStorageCapacityRequest` instance which specifies the bucket name as well as a UserQos instance
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketStorageCapacity

          UserQos getBucketStorageCapacity(String bucketName)
                                           throws OSSException,
                                                  ClientException

      Gets the `Bucket`'s capacity
      参数:
        `bucketName` - The bucket name.
      返回:
        A `UserQos` instance which has the capacity information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketStorageCapacity

          UserQos getBucketStorageCapacity(GenericRequest genericRequest)
                                           throws OSSException,
                                                  ClientException

      Gets the `Bucket`'s capacity
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `UserQos` instance which has the capacity information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketEncryption

          void setBucketEncryption(SetBucketEncryptionRequest setBucketEncryptionRequest)
                                   throws OSSException,
                                          ClientException

      Creates a new server-side encryption configuration (or replaces an existing one, if present).
      参数:
        `setBucketEncryptionRequest` - The request object for setting the bucket encryption configuration.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketEncryption

          ServerSideEncryptionConfiguration getBucketEncryption(String bucketName)
                                                                throws OSSException,
                                                                       ClientException

      Returns the server-side encryption configuration of a bucket.
      参数:
        `bucketName` - Name of the bucket to retrieve encryption configuration for.
      返回:
        A `ServerSideEncryptionConfiguration`.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketEncryption

          ServerSideEncryptionConfiguration getBucketEncryption(GenericRequest genericRequest)
                                                                throws OSSException,
                                                                       ClientException

      Returns the server-side encryption configuration of a bucket.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      返回:
        A `ServerSideEncryptionConfiguration`.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketEncryption

          void deleteBucketEncryption(String bucketName)
                                      throws OSSException,
                                             ClientException

      Deletes the server-side encryption configuration from the bucket.
      参数:
        `bucketName` - The bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketEncryption

          void deleteBucketEncryption(GenericRequest genericRequest)
                                      throws OSSException,
                                             ClientException

      Deletes the server-side encryption configuration from the bucket.
      参数:
        `genericRequest` - The `GenericRequest` instance which specifies the bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketPolicy

          void setBucketPolicy(String bucketName,
                             String policyText)
                               throws OSSException,
                                      ClientException

      Sets the policy on the `Bucket` instance.
      参数:
        `bucketName` - Bucket name.
        `policyText` - Policy JSON text, please refer to the policy writing rules of Aliyun
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketPolicy

          void setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)
                               throws OSSException,
                                      ClientException

      Sets the policy on the `Bucket` instance.
      参数:
        `setBucketPolicyRequest` - `SetBucketPolicyRequest` instance that has bucket information as well as policy information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketPolicy

          GetBucketPolicyResult getBucketPolicy(GenericRequest genericRequest)
                                                throws OSSException,
                                                       ClientException

      Gets policy text of the `Bucket` instance.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        The policy's content in `InputStream`.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketPolicy

          GetBucketPolicyResult getBucketPolicy(String bucketName)
                                                throws OSSException,
                                                       ClientException

      Gets policy text of the `Bucket` instance.
      参数:
        `bucketName` - Bucket name
      返回:
        The policy's content in `InputStream`.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketPolicy

          void deleteBucketPolicy(GenericRequest genericRequest)
                                  throws OSSException,
                                         ClientException

      Delete policy of the `Bucket` instance.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketPolicy

          void deleteBucketPolicy(String bucketName)
                                  throws OSSException,
                                         ClientException

      Delete policy of the `Bucket` instance.
      参数:
        `bucketName` - Bucket name
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### uploadFile

          UploadFileResult uploadFile(UploadFileRequest uploadFileRequest)
                                      throws Throwable

      File upload This method will automatically split files into parts and upload them in parallel by a thread pool, though by default the thread pool only has one thread. After all parts are uploaded, then it will merge them into one file. But if any one part fails to be uploaded, the whole upload fails. Optionally a checkpoint file could be used to track the progress of the upload and resume the upload later upon failure. Once the upload completes, the checkpoint file would be deleted. By default checkpoint file is disabled.
      参数:
        `uploadFileRequest` - A `UploadFileRequest` instance that specifies the bucket name, object key, file path ,part size (> 100K) and thread count (from 1 to 1000) and checkpoint file.
      返回:
        A `UploadFileRequest` instance which has the new uploaded file's key, ETag, location.
      抛出:
        `Throwable`

    - #### downloadFile

          DownloadFileResult downloadFile(DownloadFileRequest downloadFileRequest)
                                          throws Throwable

      File download Very similar with file upload, this method will split the OSS object into parts and download them in parallel by a thread pool, though by default the thread pool only has one thread. After all parts are downloaded, then the method will merge them into one file. But if any one part fails to be downloaded, the whole download fails. Optionally a checkpoint file could be used to track the progress of the download and resume the download later upon failure. Once the download completes, the checkpoint file would be deleted. By default checkpoint file is disabled.
      参数:
        `downloadFileRequest` - A `DownloadFileRequest` instance that specifies the bucket name, object key, file path, part size (> 100K) and thread count (from 1 to 1000) and checkpoint file. Also it could have the ETag and ModifiedSince constraints.
      返回:
        A `DownloadFileResult` instance that has the `ObjectMetadata` information.
      抛出:
        `Throwable`

    - #### createLiveChannel

          CreateLiveChannelResult createLiveChannel(CreateLiveChannelRequest createLiveChannelRequest)
                                                    throws OSSException,
                                                           ClientException

      Creates a live streaming channel. OSS could manage the RTMP inbound stream by the "Live Channel". To store the RTMP stream into OSS, this method needs to be called first to create a "Live Channel".
      参数:
        `createLiveChannelRequest` - A `CreateLiveChannelRequest` instance that specifies the target bucket name, channel name, channel status (Enabled or Disabled), streaming storage status such as media file name, its .ts file time duration, etc.
      返回:
        A `CreateLiveChannelResult` instance that specifies the publish url and playback url.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setLiveChannelStatus

          void setLiveChannelStatus(String bucketName,
                                  String liveChannel,
                                  LiveChannelStatus status)
                                    throws OSSException,
                                           ClientException

      Sets the Live Channel status. A Live Channel could be disabled or enabled by setting its status.
      参数:
        `bucketName` - Bucket name.
        `liveChannel` - Live Channel name.
        `status` - Live Channel status: "Enabled" or "Disabled".
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setLiveChannelStatus

          void setLiveChannelStatus(SetLiveChannelRequest setLiveChannelRequest)
                                    throws OSSException,
                                           ClientException

      Sets the Live Channel status. A Live Channel could be disabled or enabled by setting its status.
      参数:
        `setLiveChannelRequest` - A `SetLiveChannelRequest` instance that specifies the bucket name, the channel name and the Live Channel status.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelInfo

          LiveChannelInfo getLiveChannelInfo(String bucketName,
                                           String liveChannel)
                                             throws OSSException,
                                                    ClientException

      Gets the Live Channel's configuration.
      参数:
        `bucketName` - Bucket name.
        `liveChannel` - Live Channel name.
      返回:
        A `LiveChannelInfo` instance that contains the Live Channel's name, description, bucket name and its streaming storage information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelInfo

          LiveChannelInfo getLiveChannelInfo(LiveChannelGenericRequest liveChannelGenericRequest)
                                             throws OSSException,
                                                    ClientException

      Gets the Live Channel's configuration.
      参数:
        `liveChannelGenericRequest` - A `LiveChannelGenericRequest` instance that specifies the bucket name and Live Channel name.
      返回:
        A `LiveChannelInfo` instance that contains the Live Channel's name, description, bucket name and its streaming storage information.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelStat

          LiveChannelStat getLiveChannelStat(String bucketName,
                                           String liveChannel)
                                             throws OSSException,
                                                    ClientException

      Gets Live Channel's streaming information.
      参数:
        `bucketName` - Bucket name.
        `liveChannel` - Live Channel name.
      返回:
        A `LiveChannelStat` instance that contains the media's resolution, frame rate and bandwidth.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelStat

          LiveChannelStat getLiveChannelStat(LiveChannelGenericRequest liveChannelGenericRequest)
                                             throws OSSException,
                                                    ClientException

      Gets Live Channel's streaming information.
      参数:
        `liveChannelGenericRequest` - A `LiveChannelGenericRequest` instance that specifies the bucket name and channel name.
      返回:
        A `LiveChannelStat` instance that contains the media's resolution, frame rate and bandwidth.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteLiveChannel

          void deleteLiveChannel(String bucketName,
                               String liveChannel)
                                 throws OSSException,
                                        ClientException

      Deletes the Live Channel.
      参数:
        `bucketName` - Bucket name.
        `liveChannel` - Live Channel name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteLiveChannel

          void deleteLiveChannel(LiveChannelGenericRequest liveChannelGenericRequest)
                                 throws OSSException,
                                        ClientException

      Deletes the Live Channel。 After the deletion, the media files are still kept. But the streaming will not work on these files.
      参数:
        `liveChannelGenericRequest` - A `LiveChannelGenericRequest` instance that specifies the
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### listLiveChannels

          List<LiveChannel> listLiveChannels(String bucketName)
                                             throws OSSException,
                                                    ClientException

      Lists all Live Channels under a bucket.
      参数:
        `bucketName` - Bucket name.
      返回:
        A list of all `LiveChannel` instances under the bucket.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### listLiveChannels

          LiveChannelListing listLiveChannels(ListLiveChannelsRequest listLiveChannelRequest)
                                              throws OSSException,
                                                     ClientException

      Lists all Live Channels under a bucket that meets the requirement specified by the parameter listLiveChannelRequest.
      参数:
        `listLiveChannelRequest` - A `ListLiveChannelsRequest` that specifies the bucket name and its requirement on Live Channel instances to return, such as prefix, marker, max entries to return.
      返回:
        A list of `LiveChannel` instances that meet the requirements.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelHistory

          List<LiveRecord> getLiveChannelHistory(String bucketName,
                                               String liveChannel)
                                                 throws OSSException,
                                                        ClientException

      Gets recent `LiveRecord` entries from the specified Live Channel. OSS saves recent 10 LiveRecord (pushing streaming record) for every Live Channel.
      参数:
        `bucketName` - Bucket name.
        `liveChannel` - Live Channel name.
      返回:
        Recent (up to 10) `LiveRecord` for the live channel.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getLiveChannelHistory

          List<LiveRecord> getLiveChannelHistory(LiveChannelGenericRequest liveChannelGenericRequest)
                                                 throws OSSException,
                                                        ClientException

      Gets recent `LiveRecord` entries from the specified Live Channel. OSS saves recent 10 LiveRecord (pushing streaming record) for every Live Channel.
      参数:
        `liveChannelGenericRequest` - A `LiveChannelGenericRequest` instance that specifies the bucket name and Live Channel name.
      返回:
        Recent (up to 10) `LiveRecord` for the live channel.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### generateVodPlaylist

          void generateVodPlaylist(String bucketName,
                                 String liveChannelName,
                                 String PlaylistName,
                                 long startTime,
                                 long endTime)
                                   throws OSSException,
                                          ClientException

      Generates a VOD playlist (*.m3u8 file) for the *.ts files with specified time range under the Live Channel.
      参数:
        `bucketName` - Bucket name.
        `liveChannelName` - Live Channel name.
        `PlaylistName` - The playlist file name, such as (playlist.m3u8).
        `startTime` - The start time of the playlist in epoch time (means *.ts files time is same or later than it)
        `endTime` - The end time of the playlist in epoch time(means *.ts files time is no later than it).
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### generateVodPlaylist

          void generateVodPlaylist(GenerateVodPlaylistRequest generateVodPlaylistRequest)
                                   throws OSSException,
                                          ClientException

      Generates a VOD playlist (*.m3u8 file) for the *.ts files with specified time range under the Live Channel.
      参数:
        `generateVodPlaylistRequest` - A `GenerateVodPlaylistRequest` instance the specifies the bucket name and the Live Channel name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getVodPlaylist

          OSSObject getVodPlaylist(String bucketName,
                                 String liveChannelName,
                                 long startTime,
                                 long endTime)
                                   throws OSSException,
                                          ClientException

      Generates and returns a VOD playlist (m3u8 format) for the *.ts files with specified time range under the Live Channel, but this VOD playlist would not be stored in OSS Server.
      参数:
        `bucketName` - Bucket name.
        `liveChannelName` - Live Channel name.
        `startTime` - The start time of the playlist in epoch time (means *.ts files time is same or later than it)
        `endTime` - The end time of the playlist in epoch time(means *.ts files time is no later than it).
      返回:
        A `OSSObject` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getVodPlaylist

          OSSObject getVodPlaylist(GetVodPlaylistRequest getVodPlaylistRequest)
                                   throws OSSException,
                                          ClientException

      Generates and returns a VOD playlist (m3u8 format) for the *.ts files with specified time range under the Live Channel, but this VOD playlist would not be stored in OSS Server.
      参数:
        `getVodPlaylistRequest` - A `GetVodPlaylistRequest` instance the specifies the bucket name and the Live Channel name.
      返回:
        A `OSSObject` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### generateRtmpUri

          String generateRtmpUri(String bucketName,
                               String liveChannelName,
                               String PlaylistName,
                               long expires)
                                 throws OSSException,
                                        ClientException

      Generates a RTMP pushing streaming address in the Live Channel.
      参数:
        `bucketName` - Bucket name.
        `liveChannelName` - Live Channel name.
        `PlaylistName` - The playlist file name such as playlist.m3u8.
        `expires` - Expiration time in epoch time, such as 1459922563.
      返回:
        Live Channel's RTMP pushing streaming address.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### generateRtmpUri

          String generateRtmpUri(GenerateRtmpUriRequest generatePushflowUrlRequest)
                                 throws OSSException,
                                        ClientException

      Generates a RTMP pushing streaming address in the Live Channel.
      参数:
        `generatePushflowUrlRequest` - A `GenerateRtmpUriRequest` instance that specifies the bucket name and the Live Channel name.
      返回:
        Live Channel's RTMP pushing streaming address.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### createSymlink

          void createSymlink(String bucketName,
                           String symlink,
                           String target)
                             throws OSSException,
                                    ClientException

      Creates a symlink link to a target file under the bucket---this is not supported for archive class bucket.
      参数:
        `bucketName` - Bucket name.
        `symlink` - symlink name.
        `target` - target file key.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### createSymlink

          void createSymlink(CreateSymlinkRequest createSymlinkRequest)
                             throws OSSException,
                                    ClientException

      Creates a symbol link to a target file under the bucket---this is not supported for archive class bucket.
      参数:
        `createSymlinkRequest` - A `CreateSymlinkRequest` instance that specifies the bucket name, symlink name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getSymlink

          OSSSymlink getSymlink(String bucketName,
                              String symlink)
                                throws OSSException,
                                       ClientException

      Gets the symlink information for the given symlink name.
      参数:
        `bucketName` - Bucket name.
        `symlink` - The symlink name.
      返回:
        The symlink information, including the target file name and its metadata.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getSymlink

          OSSSymlink getSymlink(GenericRequest genericRequest)
                                throws OSSException,
                                       ClientException

      Gets the symlink information for the given symlink name.
      参数:
        `genericRequest` - A `GenericRequest` instance which specifies the bucket name and symlink name.
      返回:
        The symlink information, including the target file name and its metadata.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### processObject

          GenericResult processObject(ProcessObjectRequest processObjectRequest)
                                      throws OSSException,
                                             ClientException

      Apply process on the specified image file.

      The supported process includes resize, rotate, crop, watermark, format, udf, customized style, etc. The `GenericResult` instance returned must be closed by the calller to release connection via calling getResponse().getContent().close().

      参数:
        `processObjectRequest` - A `ProcessObjectRequest` instance that specifies the bucket name, the object key and the process (such as image/resize,w_500)
      返回:
        A `GenericResult` instance which must be closed after the usage by the caller.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketRequestPayment

          void setBucketRequestPayment(String bucketName,
                                     Payer payer)
                                       throws OSSException,
                                              ClientException

      Sets the request payment of the `Bucket`.
      参数:
        `bucketName` - The bucket name.
        `payer` - The request payer setting
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketRequestPayment

          void setBucketRequestPayment(SetBucketRequestPaymentRequest setBucketRequestPaymentRequest)
                                       throws OSSException,
                                              ClientException

      Sets the request payment of the `Bucket`.
      参数:
        `setBucketRequestPaymentRequest` - A `SetBucketRequestPaymentRequest` instance that has the bucket name and payer setting.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketRequestPayment

          GetBucketRequestPaymentResult getBucketRequestPayment(String bucketName)
                                                                throws OSSException,
                                                                       ClientException

      Gets the request payment of the `Bucket`.
      参数:
        `bucketName` - The bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketRequestPayment

          GetBucketRequestPaymentResult getBucketRequestPayment(GenericRequest genericRequest)
                                                                throws OSSException,
                                                                       ClientException

      Gets the request payment of the `Bucket`.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketQosInfo

          void setBucketQosInfo(String bucketName,
                              BucketQosInfo bucketQosInfo)
                                throws OSSException,
                                       ClientException

      sets the qos info for the `Bucket`.
      参数:
        `bucketName` - The bucket name.
        `bucketQosInfo` - The bucket qos info setting
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketQosInfo

          void setBucketQosInfo(SetBucketQosInfoRequest setBucketQosInfoRequest)
                                throws OSSException,
                                       ClientException

      sets the qos info for the `Bucket`.
      参数:
        `setBucketQosInfoRequest` - `SetBucketQosInfoRequest` instance that has the bucket name and bucket qos info.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketQosInfo

          BucketQosInfo getBucketQosInfo(String bucketName)
                                         throws OSSException,
                                                ClientException

      Gets the bucket qos info of the `Bucket`.
      参数:
        `bucketName` - The bucket name.
      返回:
        A `BucketQosInfo` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketQosInfo

          BucketQosInfo getBucketQosInfo(GenericRequest genericRequest)
                                         throws OSSException,
                                                ClientException

      Gets the bucket qos info of the `Bucket`.
      参数:
        `genericRequest` - `GenericRequest` instance that has the bucket name.
      返回:
        A `BucketQosInfo` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketQosInfo

          void deleteBucketQosInfo(String bucketName)
                                   throws OSSException,
                                          ClientException

      Deletes the bucket qos info.
      参数:
        `bucketName` - The bucket name
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketQosInfo

          void deleteBucketQosInfo(GenericRequest genericRequest)
                                   throws OSSException,
                                          ClientException

      Deletes the bucket qos info.
      参数:
        `genericRequest` - A `GenericRequest` instance that has the bucket name
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getUserQosInfo

          UserQosInfo getUserQosInfo()
                                     throws OSSException,
                                            ClientException

      Gets the User qos info.
      返回:
        A `UserQosInfo` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setAsyncFetchTask

          SetAsyncFetchTaskResult setAsyncFetchTask(String bucketName,
                                                  AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)
                                                    throws OSSException,
                                                           ClientException

      Sets an async fetch task.
      参数:
        `bucketName` - The bucket name.
        `asyncFetchTaskConfiguration` - The async fetch task configuration.
      返回:
        A `SetAsyncFetchTaskResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setAsyncFetchTask

          SetAsyncFetchTaskResult setAsyncFetchTask(SetAsyncFetchTaskRequest setAsyncFetchTaskRequest)
                                                    throws OSSException,
                                                           ClientException

      Sets an async fetch task.
      参数:
        `setAsyncFetchTaskRequest` - A `SetAsyncFetchTaskRequest` instance that specified the bucket name and the task configuration.
      返回:
        A `SetAsyncFetchTaskResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getAsyncFetchTask

          GetAsyncFetchTaskResult getAsyncFetchTask(String bucketName,
                                                  String taskId)
                                                    throws OSSException,
                                                           ClientException

      Gets the async fetch task information.
      参数:
        `bucketName` - The bucket name.
        `taskId` - The id of the task which you want to get.
      返回:
        A `GetAsyncFetchTaskResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getAsyncFetchTask

          GetAsyncFetchTaskResult getAsyncFetchTask(GetAsyncFetchTaskRequest getAsyncFetchTaskRequest)
                                                    throws OSSException,
                                                           ClientException

      Gets the async fetch task information.
      参数:
        `getAsyncFetchTaskRequest` - A `GetAsyncFetchTaskRequest` instance that specified the bucket name and the task id.
      返回:
        A `GetAsyncFetchTaskResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### createVpcip

          CreateVpcipResult createVpcip(CreateVpcipRequest createVpcipRequest)
                                        throws OSSException,
                                               ClientException

      Creates a vpcip tunnel `Vpcip`.
      参数:
        `createVpcipRequest` - A `CreateVpcipRequest` instance that specified the vpc information.
      返回:
        A `CreateVpcipResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### listVpcip

          List<Vpcip> listVpcip()
                                throws OSSException,
                                       ClientException

      Returns all `Vpcip` instances of the current account.
      返回:
        A list of `Vpcip` instances. If there's no Vpcips, the list will be empty (instead of null).
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteVpcip

          void deleteVpcip(DeleteVpcipRequest deleteVpcipRequest)
                           throws OSSException,
                                  ClientException

      Deletes the `Vpcip` instance.
      参数:
        `deleteVpcipRequest` - A `DeleteVpcipRequest` that specified the vpc policy.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### createBucketVpcip

          void createBucketVpcip(CreateBucketVpcipRequest createBucketVpcipRequest)
                                 throws OSSException,
                                        ClientException

      Bind a Vpcip to a bucket.
      参数:
        `createBucketVpcipRequest` - A `CreateBucketVpcipRequest` instance that specified the bucketName and the `VpcPolicy` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketVpcip

          List<VpcPolicy> getBucketVpcip(GenericRequest genericRequest)
                                         throws OSSException,
                                                ClientException

      Returns all `VpcPolicy` instances of the Bucket.
      返回:
        A list of `VpcPolicy` instances. If there's no list, the list will be empty (instead of null).
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### deleteBucketVpcip

          void deleteBucketVpcip(DeleteBucketVpcipRequest deleteBucketVpcipRequest)
                                 throws OSSException,
                                        ClientException

      Deletes the `VpcPolicy` instance that has binded to the bucket.
      参数:
        `deleteBucketVpcipRequest` - A `DeleteBucketVpcipRequest` instance that has specified the bucketName and the `VpcPolicy` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketInventoryConfiguration

          void setBucketInventoryConfiguration(String bucketName,
                                             InventoryConfiguration inventoryConfiguration)
                                               throws OSSException,
                                                      ClientException

      Sets the bucket inventory configuration.
      参数:
        `bucketName` - The bucket name.
        `inventoryConfiguration` - The inventory configuration.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### setBucketInventoryConfiguration

          void setBucketInventoryConfiguration(SetBucketInventoryConfigurationRequest setBucketInventoryConfigurationRequest)
                                               throws OSSException,
                                                      ClientException

      Sets the bucket inventory configuration.
      参数:
        `setBucketInventoryConfigurationRequest` - The `SetBucketInventoryConfigurationRequest` instance that has the inventory configuration.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketInventoryConfiguration

          GetBucketInventoryConfigurationResult getBucketInventoryConfiguration(String bucketName,
                                                                              String id)
                                                                                throws OSSException,
                                                                                       ClientException

      Gets the bucket inventory configuration.
      参数:
        `bucketName` - The bucket name.
        `id` - The id of the inventory configuration that want to get.
      返回:
        A `GetBucketInventoryConfigurationResult` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getBucketInventoryConfiguration

          GetBucketInventoryConfigurationResult getBucketInventoryConfiguration(GetBucketInventoryConfigurationRequest getBucketInventoryConfigurationRequest)
                                                                                throws OSSException,
                                                                                       ClientException

      Gets the bucket inventory configuration.
      参数:
        `getBucketInventoryConfigurationRequest` - The `GetBucketInventoryConfigurationRequest` instance that has the bucketName and the configuration id.
      返回:
        A `GetBucketInventoryConfigurationResult` instance that has the result.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### listBucketInventoryConfigurations

          ListBucketInventoryConfigurationsResult listBucketInventoryConfigurations(String bucketName)
                                                                                    throws OSSException,
                                                                                           ClientException

      Returns the list of inventory configurations for the bucket.
      参数:
        `bucketName` - The bucket name.
      返回:
        A `ListBucketInventoryConfigurationsResult` object containing the list of `InventoryConfiguration`.
      抛出:
        `OSSException`
        `ClientException`

    - #### listBucketInventoryConfigurations

          ListBucketInventoryConfigurationsResult listBucketInventoryConfigurations(String bucketName,
                                                                                  String continuationToken)
                                                                                    throws OSSException,
                                                                                           ClientException

      Returns the list of inventory configurations for the bucket.
      参数:
        `bucketName` - The bucket name.
        `continuationToken` - The continuation token allows list to be continued from a specific point.
      返回:
        A `ListBucketInventoryConfigurationsResult` object containing the inventory configurations.
      抛出:
        `OSSException`
        `ClientException`

    - #### listBucketInventoryConfigurations

          ListBucketInventoryConfigurationsResult listBucketInventoryConfigurations(ListBucketInventoryConfigurationsRequest listBucketInventoryConfigurationsRequest)
                                                                                    throws OSSException,
                                                                                           ClientException

      Returns the list of inventory configurations for the bucket.
      参数:
        `listBucketInventoryConfigurationsRequest` - The request object to list the inventory configurations in a bucket.
      返回:
        A `ListBucketInventoryConfigurationsResult` object containing the list of `InventoryConfiguration`.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketInventoryConfiguration

          void deleteBucketInventoryConfiguration(String bucketName,
                                                String id)
                                                  throws OSSException,
                                                         ClientException

      Deletes an inventory configuration of the bucket.
      参数:
        `bucketName` - The name of the bucket.
        `id` - The id of the inventory configuration.
      抛出:
        `OSSException`
        `ClientException`

    - #### deleteBucketInventoryConfiguration

          void deleteBucketInventoryConfiguration(DeleteBucketInventoryConfigurationRequest deleteBucketInventoryConfigurationRequest)
                                                  throws OSSException,
                                                         ClientException

      Deletes an inventory configuration of the bucket.
      参数:
        `deleteBucketInventoryConfigurationRequest` - The request object for deleting an inventory configuration.
      抛出:
        `OSSException`
        `ClientException`

    - #### createUdf

          void createUdf(CreateUdfRequest createUdfRequest)
                         throws OSSException,
                                ClientException

      Creates UDF
      参数:
        `createUdfRequest` - A `CreateUdfRequest` instance.
      抛出:
        `OSSException` - OSS Server side exception.
        `ClientException` - OSS Client side exception.

    - #### getUdfInfo

          UdfInfo getUdfInfo(UdfGenericRequest genericRequest)
                             throws OSSException,
                                    ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### listUdfs

          List<UdfInfo> listUdfs()
                                 throws OSSException,
                                        ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### deleteUdf

          void deleteUdf(UdfGenericRequest genericRequest)
                         throws OSSException,
                                ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### uploadUdfImage

          void uploadUdfImage(UploadUdfImageRequest uploadUdfImageRequest)
                              throws OSSException,
                                     ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### getUdfImageInfo

          List<UdfImageInfo> getUdfImageInfo(UdfGenericRequest genericRequest)
                                             throws OSSException,
                                                    ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### deleteUdfImage

          void deleteUdfImage(UdfGenericRequest genericRequest)
                              throws OSSException,
                                     ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### createUdfApplication

          void createUdfApplication(CreateUdfApplicationRequest createUdfApplicationRequest)
                                    throws OSSException,
                                           ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### getUdfApplicationInfo

          UdfApplicationInfo getUdfApplicationInfo(UdfGenericRequest genericRequest)
                                                   throws OSSException,
                                                          ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### listUdfApplications

          List<UdfApplicationInfo> listUdfApplications()
                                                       throws OSSException,
                                                              ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### deleteUdfApplication

          void deleteUdfApplication(UdfGenericRequest genericRequest)
                                    throws OSSException,
                                           ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### upgradeUdfApplication

          void upgradeUdfApplication(UpgradeUdfApplicationRequest upgradeUdfApplicationRequest)
                                     throws OSSException,
                                            ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### resizeUdfApplication

          void resizeUdfApplication(ResizeUdfApplicationRequest resizeUdfApplicationRequest)
                                    throws OSSException,
                                           ClientException

      抛出:
        `OSSException`
        `ClientException`

    - #### getUdfApplicationLog

          UdfApplicationLog getUdfApplicationLog(GetUdfApplicationLogRequest getUdfApplicationLogRequest)
                                                 throws OSSException,
                                                        ClientException

      抛出:
        `OSSException`
        `ClientException`

Copyright © 2020. All Rights Reserved.