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

- 使用CreateBucketRequest的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |
  com.aliyun.oss.common.parser |
  com.aliyun.oss.model |

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

    参数类型为CreateBucketRequest的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Bucket` | OSSClient.`createBucket(CreateBucketRequest createBucketRequest)`
    `Bucket` | OSS.`createBucket(CreateBucketRequest createBucketRequest)` Creates a `Bucket` instance with specified CreateBucketRequest information.

  - ### com.aliyun.oss.common.parser中CreateBucketRequest的使用

    参数类型为CreateBucketRequest的com.aliyun.oss.common.parser中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `FixedLengthInputStream` | RequestMarshallers.CreateBucketRequestMarshaller.`marshall(CreateBucketRequest request)`

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

    返回CreateBucketRequest的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `CreateBucketRequest` | CreateBucketRequest.`withCannedACL(CannedAccessControlList cannedACL)`
    `CreateBucketRequest` | CreateBucketRequest.`withDataRedundancyType(DataRedundancyType dataRedundancyType)` Creates the instance with data redundancy type.
    `CreateBucketRequest` | CreateBucketRequest.`withLocationConstraint(String locationConstraint)` Creates the instance with datacenter.
    `CreateBucketRequest` | CreateBucketRequest.`withStorageType(StorageClass storageClass)`

Copyright © 2020. All Rights Reserved.