类 ObsBucket
java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.obs.services.model.S3Bucket
com.obs.services.model.ObsBucket
-
字段概要
从类继承的字段 com.obs.services.model.S3Bucket
acl, bucketName, bucketTypeEnum, clustertype, creationDate, GLACIER, location, metadata, owner, STANDARD, STANDARD_IA, storageClass从类继承的字段 com.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()从类继承的方法 com.obs.services.model.S3Bucket
getClustertype, setClustertype从类继承的方法 com.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 com.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
构造器详细资料
-
ObsBucket
public ObsBucket() -
ObsBucket
-
-
方法详细资料
-
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
-
setOwner
-
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
-
setMetadata
-
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
-
setAcl
Set the bucket ACL. -
getStorageClass
-
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
-