类 CreateBucketRequest
java.lang.Object
com.obs.services.model.GenericRequest
com.obs.services.model.CreateBucketRequest
-
字段概要
从类继承的字段 com.obs.services.model.GenericRequest
bucketName, cancelHandler, httpMethod, userHeaders -
构造器概要
构造器构造器说明CreateBucketRequest(String bucketName) ConstructorCreateBucketRequest(String bucketName, String location) Constructor -
方法概要
修饰符和类型方法说明getAcl()Obtain the bucket cluster type.Obtain the bucket storage class.getDomainIdsByGrantPermission(ExtensionBucketPermissionEnum extensionPermissionEnum) getEpid()Obtain the enterprise ID of a bucket.getGrantPermissionsByDomainId(String domainId) Obtain the bucket location.voidgrantExtensionPermission(String domainId, ExtensionBucketPermissionEnum extensionPermissionEnum) Grant the OBS extension permission to users.voidsetAcl(AccessControlList acl) Set the bucket ACL.voidsetAvailableZone(AvailableZoneEnum availableZone) Set bucket cluster type.voidsetBucketRedundancy(RedundancyTypeEnum bucketRedundancy) voidsetBucketStorageClass(StorageClassEnum storageClass) Set the bucket storage class.voidsetBucketType(BucketTypeEnum bucketType) voidSet the enterprise ID of a bucket.voidsetFusionAllowAlternative(ActionEnum fusionAllowAlternative) voidsetFusionAllowUpgrade(ActionEnum fusionAllowUpgrade) voidsetLocation(String location) Set the bucket location.toString()voidwithdrawExtensionPermission(String domainId, ExtensionBucketPermissionEnum extensionPermissionEnum) Withdraw the OBS extension permission.voidwithdrawExtensionPermissions(String domainId) Withdraw all OBS extension permissions.从类继承的方法 com.obs.services.model.GenericRequest
addUserHeaders, getBucketName, getCancelHandler, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setCancelHandler, setRequesterPays, setUserHeaders
-
构造器详细资料
-
CreateBucketRequest
public CreateBucketRequest() -
CreateBucketRequest
-
CreateBucketRequest
-
-
方法详细资料
-
grantExtensionPermission
public void grantExtensionPermission(String domainId, ExtensionBucketPermissionEnum extensionPermissionEnum) Grant the OBS extension permission to users.- 参数:
domainId- ID of the domain to which the user belongsextensionPermissionEnum- OBS extension permission
-
withdrawExtensionPermission
public void withdrawExtensionPermission(String domainId, ExtensionBucketPermissionEnum extensionPermissionEnum) Withdraw the OBS extension permission.- 参数:
domainId- ID of the domain to which the user belongsextensionPermissionEnum- OBS extension permission
-
withdrawExtensionPermissions
Withdraw all OBS extension permissions.- 参数:
domainId- ID of the domain to which the user belongs
-
getAllGrantPermissions
-
getDomainIdsByGrantPermission
public Set<String> getDomainIdsByGrantPermission(ExtensionBucketPermissionEnum extensionPermissionEnum) -
getGrantPermissionsByDomainId
-
getLocation
-
setLocation
Set the bucket location.- 参数:
location- Bucket location. This parameter is mandatory unless the endpoint belongs to the default region.
-
getEpid
-
setEpid
-
getAcl
-
setAcl
-
getBucketStorageClass
Obtain the bucket storage class.- 返回:
- Bucket storage class
-
setBucketStorageClass
Set the bucket storage class.- 参数:
storageClass- Bucket storage class
-
getAvailableZone
-
setAvailableZone
Set bucket cluster type.- 参数:
availableZone- Bucket cluster type
-
getExtensionHeaderMap
-
toString
- 覆盖:
toString在类中GenericRequest
-
getBucketType
-
setBucketType
-
getBucketRedundancy
-
setBucketRedundancy
-
getFusionAllowUpgrade
-
setFusionAllowUpgrade
-
getFusionAllowAlternative
-
setFusionAllowAlternative
-