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

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

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

    返回ObsBucket的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObsBucket` | ObsClient.`createBucket(CreateBucketRequest request)`
    `ObsBucket` | IObsClient.`createBucket(CreateBucketRequest request)` Create a bucket.
    `ObsBucket` | ObsClient.`createBucket(ObsBucket bucket)`
    `ObsBucket` | IObsClient.`createBucket(ObsBucket bucket)` Create a bucket.
    `ObsBucket` | SecretFlexibleObsClient.`createBucket(ObsBucket bucket, String accessKey, String secretKey)`
    `ObsBucket` | SecretFlexibleObsClient.`createBucket(ObsBucket bucket, String accessKey, String secretKey, String securityToken)`
    `ObsBucket` | ObsClient.`createBucket(S3Bucket bucket)` 已过时。
    `ObsBucket` | ObsClient.`createBucket(String bucketName)`
    `ObsBucket` | IObsClient.`createBucket(String bucketName)` Create a bucket.
    `ObsBucket` | ObsClient.`createBucket(String bucketName, String location)`
    `ObsBucket` | IObsClient.`createBucket(String bucketName, String location)` Create a bucket.

    返回变量类型为ObsBucket的类型的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<ObsBucket>` | ObsClient.`listBuckets(ListBucketsRequest request)`
    `List<ObsBucket>` | IObsClient.`listBuckets(ListBucketsRequest request)` Obtain the bucket list.
    `List<ObsBucket>` | SecretFlexibleObsClient.`listBuckets(ListBucketsRequest request, String accessKey, String secretKey)`
    `List<ObsBucket>` | SecretFlexibleObsClient.`listBuckets(ListBucketsRequest request, String accessKey, String secretKey, String securityToken)`
    `List<ObsBucket>` | SecretFlexibleObsClient.`listBuckets(String accessKey, String secretKey)`
    `List<ObsBucket>` | SecretFlexibleObsClient.`listBuckets(String accessKey, String secretKey, String securityToken)`

    参数类型为ObsBucket的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObsBucket` | ObsClient.`createBucket(ObsBucket bucket)`
    `ObsBucket` | IObsClient.`createBucket(ObsBucket bucket)` Create a bucket.
    `ObsBucket` | SecretFlexibleObsClient.`createBucket(ObsBucket bucket, String accessKey, String secretKey)`
    `ObsBucket` | SecretFlexibleObsClient.`createBucket(ObsBucket bucket, String accessKey, String secretKey, String securityToken)`

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

    返回变量类型为ObsBucket的类型的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<ObsBucket>` | ListBucketsResult.`getBuckets()`

    类型变量类型为ObsBucket的com.obs.services.model中的构造器参数
    构造器和说明
    `ListBucketsResult(List<ObsBucket> buckets, Owner owner)`

Copyright © 2021. All rights reserved.