## 类的使用
com.obs.services.model.BucketCors

- 使用BucketCors的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |

- - ### com.obs.services中BucketCors的使用

    返回BucketCors的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `BucketCors` | ObsClient.`getBucketCors(BaseBucketRequest request)`
    `BucketCors` | IObsClient.`getBucketCors(BaseBucketRequest request)` Obtain the bucket CORS rules.
    `BucketCors` | ObsClient.`getBucketCors(String bucketName)`
    `BucketCors` | IObsClient.`getBucketCors(String bucketName)` Obtain the bucket CORS rules.
    `BucketCors` | SecretFlexibleObsClient.`getBucketCors(String bucketName, String accessKey, String secretKey)`
    `BucketCors` | SecretFlexibleObsClient.`getBucketCors(String bucketName, String accessKey, String secretKey, String securityToken)`

    参数类型为BucketCors的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HeaderResponse` | ObsClient.`setBucketCors(String bucketName, BucketCors bucketCors)`
    `HeaderResponse` | IObsClient.`setBucketCors(String bucketName, BucketCors bucketCors)` Configure the bucket CORS.
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketCors(String bucketName, BucketCors bucketCors, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketCors(String bucketName, BucketCors bucketCors, String accessKey, String secretKey, String securityToken)`

  - ### com.obs.services.model中BucketCors的使用

    返回BucketCors的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `BucketCors` | SetBucketCorsRequest.`getBucketCors()`

    参数类型为BucketCors的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketCorsRequest.`setBucketCors(BucketCors bucketCors)`

    参数类型为BucketCors的com.obs.services.model中的构造器
    构造器和说明
    `SetBucketCorsRequest(String bucketName, BucketCors bucketCors)`

Copyright © 2021. All rights reserved.