## 类 com.aliyun.oss.model.GenericRequest
的使用

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

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

    参数类型为GenericRequest的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | OSSClient.`deleteBucket(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucket(GenericRequest genericRequest)` Deletes the `Bucket` instance.
    `void` | OSSClient.`deleteBucketCORSRules(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketCORSRules(GenericRequest genericRequest)` Deletes all CORS rules under the bucket.
    `void` | OSSClient.`deleteBucketEncryption(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketEncryption(GenericRequest genericRequest)` Deletes the server-side encryption configuration from the bucket.
    `void` | OSSClient.`deleteBucketImage(String bucketName, GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketImage(String bucketName, GenericRequest genericRequest)` Deletes the image processing attributes on the specific `Bucket`.
    `void` | OSSClient.`deleteBucketLifecycle(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketLifecycle(GenericRequest genericRequest)` Deletes all the `Bucket`'s Lifecycle rules.
    `void` | OSSClient.`deleteBucketLogging(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketLogging(GenericRequest genericRequest)` Disables the logging on `Bucket`.
    `void` | OSSClient.`deleteBucketPolicy(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketPolicy(GenericRequest genericRequest)` Delete policy of the `Bucket` instance.
    `void` | OSSClient.`deleteBucketQosInfo(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketQosInfo(GenericRequest genericRequest)` Deletes the bucket qos info.
    `void` | OSSClient.`deleteBucketTagging(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketTagging(GenericRequest genericRequest)` Clears all the tags of the `Bucket` instance.
    `void` | OSSClient.`deleteBucketWebsite(GenericRequest genericRequest)`
    `void` | OSS.`deleteBucketWebsite(GenericRequest genericRequest)` Deletes the `Bucket`'s static website configuration, which means disabling the static website on the bucket.
    `void` | OSSClient.`deleteImageStyle(String bucketName, String styleName, GenericRequest genericRequest)`
    `void` | OSS.`deleteImageStyle(String bucketName, String styleName, GenericRequest genericRequest)` Deletes a style named by parameter styleName under `Bucket`
    `void` | OSSClient.`deleteObject(GenericRequest genericRequest)`
    `void` | OSS.`deleteObject(GenericRequest genericRequest)` Deletes the specified `OSSObject` by the `GenericRequest` instance.
    `void` | OSSClient.`deleteObjectTagging(GenericRequest genericRequest)`
    `void` | OSS.`deleteObjectTagging(GenericRequest genericRequest)` Clears all the tags of the OSS object.
    `boolean` | OSSClient.`doesBucketExist(GenericRequest genericRequest)`
    `boolean` | OSS.`doesBucketExist(GenericRequest genericRequest)` Checks if the `Bucket` exists。
    `boolean` | OSSClient.`doesObjectExist(GenericRequest genericRequest)`
    `boolean` | OSS.`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` | OSSClient.`doesObjectExist(GenericRequest genericRequest, boolean isOnlyInOSS)`
    `boolean` | OSS.`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.
    `AccessControlList` | OSSClient.`getBucketAcl(GenericRequest genericRequest)`
    `AccessControlList` | OSS.`getBucketAcl(GenericRequest genericRequest)` Gets the Access Control List(ACL) of the `Bucket` instance.
    `List<CnameConfiguration>` | OSSClient.`getBucketCname(GenericRequest genericRequest)`
    `List<CnameConfiguration>` | OSS.`getBucketCname(GenericRequest genericRequest)` Gets the `Bucket`'s Cnames.
    `CORSConfiguration` | OSSClient.`getBucketCORS(GenericRequest genericRequest)`
    `CORSConfiguration` | OSS.`getBucketCORS(GenericRequest genericRequest)` Get CORS configuration from the bucket.
    `List<SetBucketCORSRequest.CORSRule>` | OSSClient.`getBucketCORSRules(GenericRequest genericRequest)`
    `List<SetBucketCORSRequest.CORSRule>` | OSS.`getBucketCORSRules(GenericRequest genericRequest)` Lists all CORS rules from the bucket.
    `ServerSideEncryptionConfiguration` | OSSClient.`getBucketEncryption(GenericRequest genericRequest)`
    `ServerSideEncryptionConfiguration` | OSS.`getBucketEncryption(GenericRequest genericRequest)` Returns the server-side encryption configuration of a bucket.
    `GetBucketImageResult` | OSSClient.`getBucketImage(String bucketName, GenericRequest genericRequest)`
    `GetBucketImageResult` | OSS.`getBucketImage(String bucketName, GenericRequest genericRequest)` Gets the image processing attributes on the specific `Bucket`.
    `BucketInfo` | OSSClient.`getBucketInfo(GenericRequest genericRequest)`
    `BucketInfo` | OSS.`getBucketInfo(GenericRequest genericRequest)` Gets the `Bucket`'s basic information as well as its ACL.
    `List<LifecycleRule>` | OSSClient.`getBucketLifecycle(GenericRequest genericRequest)`
    `List<LifecycleRule>` | OSS.`getBucketLifecycle(GenericRequest genericRequest)` Gets the `Bucket`'s Lifecycle rules.
    `String` | OSSClient.`getBucketLocation(GenericRequest genericRequest)`
    `String` | OSS.`getBucketLocation(GenericRequest genericRequest)` Returns the datacenter name where the `Bucket` instance specified by GenericRequest is hosted.
    `BucketLoggingResult` | OSSClient.`getBucketLogging(GenericRequest genericRequest)`
    `BucketLoggingResult` | OSS.`getBucketLogging(GenericRequest genericRequest)` Gets the `Bucket`'s logging setting.
    `BucketMetadata` | OSSClient.`getBucketMetadata(GenericRequest genericRequest)`
    `BucketMetadata` | OSS.`getBucketMetadata(GenericRequest genericRequest)` Gets all the metadata of `Bucket`.
    `GetBucketPolicyResult` | OSSClient.`getBucketPolicy(GenericRequest genericRequest)`
    `GetBucketPolicyResult` | OSS.`getBucketPolicy(GenericRequest genericRequest)` Gets policy text of the `Bucket` instance.
    `BucketProcess` | OSSClient.`getBucketProcess(GenericRequest genericRequest)`
    `BucketProcess` | OSS.`getBucketProcess(GenericRequest genericRequest)` Get the bucket's image accessing configuration
    `BucketQosInfo` | OSSClient.`getBucketQosInfo(GenericRequest genericRequest)`
    `BucketQosInfo` | OSS.`getBucketQosInfo(GenericRequest genericRequest)` Gets the bucket qos info of the `Bucket`.
    `BucketReferer` | OSSClient.`getBucketReferer(GenericRequest genericRequest)`
    `BucketReferer` | OSS.`getBucketReferer(GenericRequest genericRequest)` Returns http referer information of the `Bucket` specified by bucket name in GenericRequest object.
    `List<ReplicationRule>` | OSSClient.`getBucketReplication(GenericRequest genericRequest)`
    `List<ReplicationRule>` | OSS.`getBucketReplication(GenericRequest genericRequest)` Gets all the `Bucket`'s cross region replication rules.
    `List<String>` | OSSClient.`getBucketReplicationLocation(GenericRequest genericRequest)`
    `List<String>` | OSS.`getBucketReplicationLocation(GenericRequest genericRequest)` Gets the `Bucket`'s replication reachable data centers.
    `GetBucketRequestPaymentResult` | OSSClient.`getBucketRequestPayment(GenericRequest genericRequest)`
    `GetBucketRequestPaymentResult` | OSS.`getBucketRequestPayment(GenericRequest genericRequest)` Gets the request payment of the `Bucket`.
    `BucketStat` | OSSClient.`getBucketStat(GenericRequest genericRequest)`
    `BucketStat` | OSS.`getBucketStat(GenericRequest genericRequest)` Gets the `Bucket`'s storage information such as object counts, storage size and executing multipart uploads.
    `UserQos` | OSSClient.`getBucketStorageCapacity(GenericRequest genericRequest)`
    `UserQos` | OSS.`getBucketStorageCapacity(GenericRequest genericRequest)` Gets the `Bucket`'s capacity
    `TagSet` | OSSClient.`getBucketTagging(GenericRequest genericRequest)`
    `TagSet` | OSS.`getBucketTagging(GenericRequest genericRequest)` Gets the tags of `Bucket` instance.
    `BucketVersioningConfiguration` | OSSClient.`getBucketVersioning(GenericRequest genericRequest)`
    `BucketVersioningConfiguration` | OSS.`getBucketVersioning(GenericRequest genericRequest)` Returns the versioning configuration for the specified bucket.
    `List<VpcPolicy>` | OSSClient.`getBucketVpcip(GenericRequest genericRequest)`
    `List<VpcPolicy>` | OSS.`getBucketVpcip(GenericRequest genericRequest)` Returns all `VpcPolicy` instances of the Bucket.
    `BucketWebsiteResult` | OSSClient.`getBucketWebsite(GenericRequest genericRequest)`
    `BucketWebsiteResult` | OSS.`getBucketWebsite(GenericRequest genericRequest)` Gets the `Bucket`'s static webite settings.
    `GetImageStyleResult` | OSSClient.`getImageStyle(String bucketName, String styleName, GenericRequest genericRequest)`
    `GetImageStyleResult` | OSS.`getImageStyle(String bucketName, String styleName, GenericRequest genericRequest)` Gets a style named by parameter styleName under the `Bucket`
    `ObjectAcl` | OSSClient.`getObjectAcl(GenericRequest genericRequest)`
    `ObjectAcl` | OSS.`getObjectAcl(GenericRequest genericRequest)` Gets the Access Control List (ACL) of the OSS object.
    `ObjectMetadata` | OSSClient.`getObjectMetadata(GenericRequest genericRequest)`
    `ObjectMetadata` | OSS.`getObjectMetadata(GenericRequest genericRequest)` Gets all the metadata of `OSSObject`.
    `TagSet` | OSSClient.`getObjectTagging(GenericRequest genericRequest)`
    `TagSet` | OSS.`getObjectTagging(GenericRequest genericRequest)` Gets all tags of the OSS object.
    `SimplifiedObjectMeta` | OSSClient.`getSimplifiedObjectMeta(GenericRequest genericRequest)`
    `SimplifiedObjectMeta` | OSS.`getSimplifiedObjectMeta(GenericRequest genericRequest)` Gets the simplified metadata information of `OSSObject`.
    `OSSSymlink` | OSSClient.`getSymlink(GenericRequest genericRequest)`
    `OSSSymlink` | OSS.`getSymlink(GenericRequest genericRequest)` Gets the symlink information for the given symlink name.
    `List<Style>` | OSSClient.`listImageStyle(String bucketName, GenericRequest genericRequest)`
    `List<Style>` | OSS.`listImageStyle(String bucketName, GenericRequest genericRequest)` Lists all styles under the `Bucket`
    `RestoreObjectResult` | OSSClient.`restoreObject(GenericRequest genericRequest)`
    `RestoreObjectResult` | OSS.`restoreObject(GenericRequest genericRequest)` Restores the object of archive storage.

  - ### com.aliyun.oss.model中GenericRequest的使用

    com.aliyun.oss.model中GenericRequest的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbortMultipartUploadRequest` The request class which is used to abort a multipart upload.
    `class` | `AddBucketCnameRequest`
    `class` | `AddBucketReplicationRequest` The request class that is used to add a cross region replication request on a bucket.
    `class` | `AppendObjectRequest`
    `class` | `CompleteMultipartUploadRequest` The request class that is used to complete a multipart upload.
    `class` | `CreateBucketRequest`
    `class` | `CreateBucketVpcipRequest`
    `class` | `CreateLiveChannelRequest`
    `class` | `CreateSymlinkRequest` The request class that is used to create symlink on an object.
    `class` | `CreateVpcipRequest`
    `class` | `DeleteBucketCnameRequest`
    `class` | `DeleteBucketInventoryConfigurationRequest` Request object to delete an inventory configuration.
    `class` | `DeleteBucketReplicationRequest` The request that is to delete cross region's bucket replication.
    `class` | `DeleteBucketVpcipRequest`
    `class` | `DeleteObjectsRequest` Options for deleting multiple objects in a specified bucket.
    `class` | `DeleteVersionRequest` Provides options for deleting a specific version of an object in the specified bucket.
    `class` | `DeleteVersionsRequest` Provides options for deleting multiple objects in a specified bucket.
    `class` | `DeleteVpcipRequest`
    `class` | `DownloadFileRequest` The request class that is to download file with multiple parts download.
    `class` | `GenerateVodPlaylistRequest`
    `class` | `GetAsyncFetchTaskRequest`
    `class` | `GetBucketImageResult`
    `class` | `GetBucketInventoryConfigurationRequest`
    `class` | `GetBucketReplicationProgressRequest` This request class is used to get the bucket replication progress information from OSS.
    `class` | `GetObjectRequest` This is the request class that is used to download an object from OSS.
    `class` | `GetVodPlaylistRequest`
    `class` | `InitiateMultipartUploadRequest` This is the request that is used to initiate a multipart upload.
    `class` | `ListBucketInventoryConfigurationsRequest` Request object to list inventory configurations of a bucket.
    `class` | `ListLiveChannelsRequest` This is the request class is used to list Live Channels under a bucket.
    `class` | `ListMultipartUploadsRequest` This is the request class to list executing multipart uploads under a bucket.
    `class` | `ListObjectsRequest` This is the request class to list objects under a bucket.
    `class` | `ListObjectsV2Request` This is the request class to list objects under a bucket.
    `class` | `ListPartsRequest` This is the request class to list parts of a ongoing multipart upload.
    `class` | `ListVersionsRequest` Provides options for returning a list of summary information about the versions in a specified bucket.
    `class` | `LiveChannelGenericRequest`
    `class` | `OptionsRequest`
    `class` | `ProcessObjectRequest`
    `class` | `PutBucketImageRequest`
    `class` | `PutImageStyleRequest`
    `class` | `PutObjectRequest`
    `class` | `RestoreObjectRequest`
    `class` | `SelectObjectRequest` This is the request class that is used to select an object from OSS.
    `class` | `SetAsyncFetchTaskRequest`
    `class` | `SetBucketAclRequest`
    `class` | `SetBucketCORSRequest`
    `class` | `SetBucketEncryptionRequest` Represents the input of a `PutBucketEncryption` operation.
    `class` | `SetBucketInventoryConfigurationRequest` Request object to set an inventory configuration to a bucket.
    `class` | `SetBucketLifecycleRequest`
    `class` | `SetBucketLoggingRequest`
    `class` | `SetBucketPolicyRequest`
    `class` | `SetBucketProcessRequest`
    `class` | `SetBucketQosInfoRequest`
    `class` | `SetBucketRefererRequest`
    `class` | `SetBucketRequestPaymentRequest`
    `class` | `SetBucketStorageCapacityRequest`
    `class` | `SetBucketTaggingRequest`
    `class` | `SetBucketVersioningRequest` Contains options for setting the versioning configuration for a bucket.
    `class` | `SetBucketWebsiteRequest`
    `class` | `SetLiveChannelRequest`
    `class` | `SetObjectAclRequest`
    `class` | `SetObjectTaggingRequest`
    `class` | `SetTaggingRequest`
    `class` | `UploadFileRequest` The file upload request to start a multipart upload.
    `class` | `UploadPartRequest` This is the request class to upload a file part in a multipart upload.
    `class` | `VpcPolicy`

    返回GenericRequest的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `GenericRequest` | GenericRequest.`withBucketName(String bucketName)`
    `GenericRequest` | GenericRequest.`withKey(String key)`
    `GenericRequest` | GenericRequest.`withRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.
    `GenericRequest` | GenericRequest.`withVersionId(String versionId)` Sets the optional version ID specifying which version of the object to download and returns this object, enabling additional method calls to be chained together.

Copyright © 2020. All Rights Reserved.