public class ObsBucket extends S3Bucket
acl, bucketName, bucketTypeEnum, creationDate, GLACIER, location, metadata, owner, STANDARD, STANDARD_IA, storageClass| 限定符和类型 | 方法和说明 |
|---|---|
AccessControlList |
getAcl()
Obtain the bucket ACL.
|
String |
getBucketName()
Obtain the bucket name.
|
StorageClassEnum |
getBucketStorageClass() |
BucketTypeEnum |
getBucketType() |
Date |
getCreationDate()
Obtain the creation time of the bucket.
|
String |
getLocation()
Obtain the bucket location.
|
Map<String,Object> |
getMetadata()
已过时。
|
Owner |
getOwner()
Obtain the owner of the bucket.
|
String |
getStorageClass()
已过时。
|
void |
setAcl(AccessControlList acl)
Set the bucket ACL.
|
void |
setBucketName(String bucketName)
Set the bucket name.
|
void |
setBucketStorageClass(StorageClassEnum storageClass)
Set the bucket storage class.
|
void |
setBucketType(BucketTypeEnum bucketTypeEnum) |
void |
setCreationDate(Date bucketCreationDate)
Set the creation time of the bucket.
|
void |
setLocation(String location)
Set the bucket location.
|
void |
setMetadata(Map<String,Object> metadata)
已过时。
|
void |
setOwner(Owner bucketOwner)
Set the owner of the bucket.
|
void |
setStorageClass(String storageClass)
已过时。
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic String getBucketName()
getBucketName 在类中 S3Bucketpublic void setBucketName(String bucketName)
setBucketName 在类中 S3BucketbucketName - Bucket namepublic Owner getOwner()
public void setOwner(Owner bucketOwner)
public Date getCreationDate()
getCreationDate 在类中 S3Bucketpublic void setCreationDate(Date bucketCreationDate)
setCreationDate 在类中 S3BucketbucketCreationDate - Creation time of the bucket@Deprecated public Map<String,Object> getMetadata()
getMetadata 在类中 S3Bucket@Deprecated public void setMetadata(Map<String,Object> metadata)
setMetadata 在类中 S3Bucketmetadata - Bucket propertiespublic String getLocation()
getLocation 在类中 S3Bucketpublic void setLocation(String location)
setLocation 在类中 S3Bucketlocation - Bucket location. This parameter is mandatory unless the
endpoint belongs to the default region.public AccessControlList getAcl()
public void setAcl(AccessControlList acl)
@Deprecated public String getStorageClass()
getStorageClass 在类中 S3Bucket@Deprecated public void setStorageClass(String storageClass)
setStorageClass 在类中 S3BucketstorageClass - Bucket storage classpublic BucketTypeEnum getBucketType()
public void setBucketType(BucketTypeEnum bucketTypeEnum)
public StorageClassEnum getBucketStorageClass()
getBucketStorageClass 在类中 S3Bucketpublic void setBucketStorageClass(StorageClassEnum storageClass)
setBucketStorageClass 在类中 S3BucketstorageClass - Bucket storage classCopyright © 2021. All rights reserved.