public class CreateBucketRequest extends GenericRequest
NOOP| 构造器和说明 | 
|---|
CreateBucketRequest(String bucketName)  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
CannedAccessControlList | 
getCannedACL()  | 
DataRedundancyType | 
getDataRedundancyType()
Gets the bucket's data redundancy type. 
 | 
String | 
getLocationConstraint()
Gets the bucket's datacenter 
 | 
StorageClass | 
getStorageClass()  | 
void | 
setCannedACL(CannedAccessControlList cannedACL)  | 
void | 
setDataRedundancyType(DataRedundancyType dataRedundancyType)
Sets the bucket's data redundancy type. 
 | 
void | 
setLocationConstraint(String locationConstraint)
Sets the bucket's datacenter. 
 | 
void | 
setStorageClass(StorageClass storageClass)  | 
CreateBucketRequest | 
withCannedACL(CannedAccessControlList cannedACL)  | 
CreateBucketRequest | 
withDataRedundancyType(DataRedundancyType dataRedundancyType)
Creates the instance with data redundancy type. 
 | 
CreateBucketRequest | 
withLocationConstraint(String locationConstraint)
Creates the instance with datacenter. 
 | 
CreateBucketRequest | 
withStorageType(StorageClass storageClass)  | 
getBucketName, getKey, getRequestPayer, getVersionId, setBucketName, setKey, setRequestPayer, setVersionId, withBucketName, withKey, withRequestPayer, withVersionIdpublic CreateBucketRequest(String bucketName)
public String getLocationConstraint()
public void setLocationConstraint(String locationConstraint)
locationConstraint - Bucket's datacenter.public CreateBucketRequest withLocationConstraint(String locationConstraint)
locationConstraint - Bucket datacenter.public CannedAccessControlList getCannedACL()
public void setCannedACL(CannedAccessControlList cannedACL)
public StorageClass getStorageClass()
public void setStorageClass(StorageClass storageClass)
public CreateBucketRequest withCannedACL(CannedAccessControlList cannedACL)
public CreateBucketRequest withStorageType(StorageClass storageClass)
public void setDataRedundancyType(DataRedundancyType dataRedundancyType)
dataRedundancyType - The Bucketdata redundancy type.public CreateBucketRequest withDataRedundancyType(DataRedundancyType dataRedundancyType)
dataRedundancyType - The Bucketdata redundancy type.public DataRedundancyType getDataRedundancyType()
Copyright © 2019. All Rights Reserved.