类 ObsBucket
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.S3Bucket
cn.warpin.thirdPart.huawei.obs.obs.services.model.ObsBucket
Buckets in OBS
-
字段概要
从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.S3Bucket
acl, bucketName, bucketTypeEnum, clustertype, creationDate, GLACIER, location, metadata, owner, STANDARD, STANDARD_IA, storageClass从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getAcl()Obtain the bucket ACL.Obtain the bucket name.Obtain the creation time of the bucket.Obtain the bucket location.已过时。getOwner()Obtain the owner of the bucket.已过时。voidsetAcl(AccessControlList acl) Set the bucket ACL.voidsetBucketName(String bucketName) Set the bucket name.voidsetBucketStorageClass(StorageClassEnum storageClass) Set the bucket storage class.voidsetBucketType(BucketTypeEnum bucketTypeEnum) voidsetCreationDate(Date bucketCreationDate) Set the creation time of the bucket.voidsetLocation(String location) Set the bucket location.voidsetMetadata(Map<String, Object> metadata) 已过时。voidSet the owner of the bucket.voidsetStorageClass(String storageClass) 已过时。toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.S3Bucket
getClustertype, setClustertype从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
构造器详细资料
-
ObsBucket
public ObsBucket() -
ObsBucket
Constructor- 参数:
bucketName- Bucket namelocation- Bucket location
-
-
方法详细资料
-
getBucketName
Obtain the bucket name.- 覆盖:
getBucketName在类中S3Bucket- 返回:
- Bucket name
-
setBucketName
Set the bucket name. The value can contain only lowercase letters, digits, hyphens (-), and periods (.).- 覆盖:
setBucketName在类中S3Bucket- 参数:
bucketName- Bucket name
-
getOwner
Obtain the owner of the bucket. -
setOwner
Set the owner of the bucket. -
getCreationDate
Obtain the creation time of the bucket.- 覆盖:
getCreationDate在类中S3Bucket- 返回:
- Creation time of the bucket
-
setCreationDate
Set the creation time of the bucket.- 覆盖:
setCreationDate在类中S3Bucket- 参数:
bucketCreationDate- Creation time of the bucket
-
getMetadata
已过时。Obtain bucket properties.- 覆盖:
getMetadata在类中S3Bucket- 返回:
- Bucket properties
-
setMetadata
已过时。Set bucket properties.- 覆盖:
setMetadata在类中S3Bucket- 参数:
metadata- Bucket properties
-
getLocation
Obtain the bucket location.- 覆盖:
getLocation在类中S3Bucket- 返回:
- Bucket location
-
setLocation
Set the bucket location.- 覆盖:
setLocation在类中S3Bucket- 参数:
location- Bucket location. This parameter is mandatory unless the endpoint belongs to the default region.
-
getAcl
Obtain the bucket ACL. -
setAcl
Set the bucket ACL. -
getStorageClass
已过时。Obtain the bucket storage class.- 覆盖:
getStorageClass在类中S3Bucket- 返回:
- Bucket storage class
-
setStorageClass
已过时。Set the bucket storage class.- 覆盖:
setStorageClass在类中S3Bucket- 参数:
storageClass- Bucket storage class
-
getBucketType
-
setBucketType
-
getBucketStorageClass
- 覆盖:
getBucketStorageClass在类中S3Bucket
-
setBucketStorageClass
Set the bucket storage class.- 覆盖:
setBucketStorageClass在类中S3Bucket- 参数:
storageClass- Bucket storage class
-
toString
-