类 AbstractBucketClient
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestConnectionService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestStorageService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.AbstractRequestConvertor
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.AclHeaderConvertor
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.RequestConvertor
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsBucketBaseService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsBucketAdvanceService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsObjectBaseService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsMultipartObjectService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsObjectService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsFileService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsExtensionService
cn.warpin.thirdPart.huawei.obs.obs.services.internal.ObsService
cn.warpin.thirdPart.huawei.obs.obs.services.AbstractClient
cn.warpin.thirdPart.huawei.obs.obs.services.AbstractDeprecatedBucketClient
cn.warpin.thirdPart.huawei.obs.obs.services.AbstractBucketClient
- 所有已实现的接口:
IFSClient,IObsBucketExtendClient,IObsClient,Closeable,AutoCloseable
- 直接已知子类:
AbstractBucketAdvanceClient
-
嵌套类概要
从类继承的嵌套类/接口 cn.warpin.thirdPart.huawei.obs.obs.services.AbstractClient
AbstractClient.ActionCallbackWithResult<T>从类继承的嵌套类/接口 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.AbstractRequestConvertor
AbstractRequestConvertor.TransResult -
字段概要
从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestStorageService
CAN_USE_STANDARD_HTTP_HEADERS从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestConnectionService
credentials, httpClient, keyManagerFactory, obsProperties, semaphore, shuttingDown, trustManagerFactory -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createBucket(CreateBucketRequest request) Create a bucket.createBucket(ObsBucket bucket) Create a bucket.createBucket(String bucketName) Create a bucket.createBucket(String bucketName, String location) Create a bucket.Create a virtual bucket.deleteBucket(BaseBucketRequest request) Delete a bucket.deleteBucket(String bucketName) Delete a bucket.deleteBucketCors(BaseBucketRequest request) Delete the bucket CORS rules.deleteBucketCors(String bucketName) Delete the bucket CORS rules.Deleting the Custom Domain Name of a BucketdeleteBucketCustomDomain(String bucketName, String domainName) Deleting the Custom Domain Name of a BucketgetBucketAcl(BaseBucketRequest request) Obtain a bucket ACL.getBucketAcl(String bucketName) Obtain a bucket ACL.getBucketCors(BaseBucketRequest request) Obtain the bucket CORS rules.getBucketCors(String bucketName) Obtain the bucket CORS rules.Obtaining the Custom Domain Name of a BucketgetBucketCustomDomain(String bucketName) Obtaining the Custom Domain Name of a BucketgetBucketLocation(BaseBucketRequest request) Obtain the bucket location.getBucketLocation(String bucketName) Obtain the bucket location.getBucketLocationV2(String bucketName) Obtain the bucket location.getBucketLogging(BaseBucketRequest request) Obtain the logging settings of a bucket.getBucketLogging(String bucketName) Obtain the logging settings of a bucket.Obtain bucket metadata.getBucketQuota(BaseBucketRequest request) Obtain the bucket quota.getBucketQuota(String bucketName) Obtain the bucket quota.getBucketRequestPayment(BaseBucketRequest request) Obtain the requester-pays status of a bucket.getBucketRequestPayment(String bucketName) Obtain the status of the requester-pays function of a bucket.getBucketStorageInfo(BaseBucketRequest request) Obtain bucket storage information.getBucketStorageInfo(String bucketName) Obtain bucket storage information.getBucketStoragePolicy(BaseBucketRequest request) Obtain the bucket storage class.getBucketStoragePolicy(String bucketName) Obtain the bucket storage class.getBucketVersioning(BaseBucketRequest request) Obtain the versioning status for a bucket.getBucketVersioning(String bucketName) Obtain the versioning status for a bucket.booleanheadBucket(BaseBucketRequest request) Identify whether a bucket exists.booleanheadBucket(String bucketName) Identify whether a bucket exists.Obtain the bucket alias list.listBuckets(ListBucketsRequest request) Obtain the bucket list.listBucketsV2(ListBucketsRequest request) Obtain the bucket list.setBucketAcl(SetBucketAclRequest request) Set a bucket ACL.setBucketAcl(String bucketName, AccessControlList acl) Set a bucket ACL.setBucketCors(SetBucketCorsRequest request) Configure the bucket CORS.setBucketCors(String bucketName, BucketCors bucketCors) Configure the bucket CORS.Configuring a Custom Domain Name for a BucketsetBucketCustomDomain(String bucketName, String domainName) Configuring a Custom Domain Name for a BucketsetBucketLogging(SetBucketLoggingRequest request) Configure logging for a bucket.setBucketLogging(String bucketName, BucketLoggingConfiguration loggingConfiguration) Configure logging for a bucket.setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, boolean updateTargetACLifRequired) setBucketQuota(SetBucketQuotaRequest request) Set the bucket quota.setBucketQuota(String bucketName, BucketQuota bucketQuota) Set the bucket quota.Configure the requester-pays function for a bucket.setBucketRequestPayment(String bucketName, RequestPaymentEnum payer) Configure the requester-pays function for a bucket.Set the bucket storage class.setBucketStoragePolicy(String bucketName, BucketStoragePolicyConfiguration bucketStorage) Set the bucket storage class.Set the versioning status for a bucket.setBucketVersioning(String bucketName, BucketVersioningConfiguration versioningConfiguration) Set the versioning status for a bucket.从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.AbstractDeprecatedBucketClient
createBucket, deleteBucketLifecycleConfiguration, deleteBucketReplicationConfiguration, deleteBucketWebsiteConfiguration, getBucketLifecycleConfiguration, getBucketLoggingConfiguration, getBucketReplicationConfiguration, getBucketWebsiteConfiguration, listBuckets, optionsBucket, setBucketAcl, setBucketCors, setBucketLifecycleConfiguration, setBucketLoggingConfiguration, setBucketReplicationConfiguration, setBucketVersioning, setBucketWebsiteConfiguration从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.AbstractClient
base64Md5, base64Md5, close, createGetTemporarySignature, createGetTemporarySignature, createPostSignature, createPostSignature, createPostSignature, createSignedUrl, createSignedUrl, createTemporarySignature, createV4PostSignature, createV4PostSignature, createV4PostSignature, createV4TemporarySignature, doActionWithResult, init, refresh从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.ObsService
createPostSignatureResponse, createTemporarySignatureResponse, createV4TemporarySignature, initThreadPool, recordBulkTaskStatus从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsExtensionService
createFetchJobImpl, deleteExtensionPolicyImpl, deleteReadAheadObjectsImpl, queryExtensionPolicyImpl, queryFetchJobImpl, queryReadAheadObjectsTaskImpl, readAheadObjectsImpl, setExtensionPolicyImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsFileService
deleteAccessLabelFsImpl, getAccessLabelFsImpl, getContentSummaryFsImpl, listContentSummaryFsImpl, listContentSummaryImpl, renameFileImpl, setAccessLabelFsImpl, truncateFileImpl, writeFileImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsObjectService
appendObjectImpl, deleteObjectTaggingImpl, getObjectTaggingImpl, modifyObjectImpl, renameObjectImpl, restoreObjectImpl, restoreObjectV2Impl, setObjectTaggingImpl, truncateObjectImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsMultipartObjectService
abortMultipartUploadImpl, completeMultipartUploadImpl, copyPartImpl, initiateMultipartUploadImpl, listMultipartUploadsImpl, listPartsImpl, uploadPartImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsObjectBaseService
copyObjectImpl, deleteObjectImpl, deleteObjectsImpl, doesObjectExistImpl, getObjectAclImpl, getObjectImpl, getObjectImpl, getObjectMetadataImpl, getObjectUrl, getObsFSAttributeFromResponse, putObjectImpl, putObjectInTwoBucketImpl, selectObjectContentImpl, setObjectAclImpl, setObjectMetadataImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsBucketAdvanceService
bindBucketAliasImpl, createBucketAliasImpl, createBucketWithClusterId, createVirtualBucketImpl, deleteBucketCorsImpl, deleteBucketCustomDomainImpl, deleteBucketDirectColdAccessImpl, deleteBucketEncryptionImpl, deleteBucketLifecycleConfigurationImpl, deleteBucketReplicationConfigurationImpl, deleteBucketTaggingImpl, deleteBucketWebsiteConfigurationImpl, getBucketAclImpl, getBucketCorsImpl, getBucketCustomDomainImpl, getBucketDirectColdAccessImpl, getBucketEncryptionImpl, getBucketLifecycleConfigurationImpl, getBucketLoggingConfigurationImpl, getBucketNotificationConfigurationImpl, getBucketQuotaImpl, getBucketReplicationConfigurationImpl, getBucketRequestPaymentImpl, getBucketTaggingImpl, getBucketWebsiteConfigurationImpl, getCrrProgressImpl, listAliasBucketsImpl, listAvailableZoneInfo, setBucketAclImpl, setBucketCorsImpl, setBucketCustomDomainImpl, setBucketDirectColdAccessImpl, setBucketEncryptionImpl, setBucketLifecycleConfigurationImpl, setBucketLoggingConfigurationImpl, setBucketNotificationImpl, setBucketQuotaImpl, setBucketReplicationConfigurationImpl, setBucketRequestPaymentImpl, setBucketTaggingImpl, setBucketVersioningImpl, setBucketWebsiteConfigurationImpl, setVirtualReplication从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.ObsBucketBaseService
createBucketImpl, deleteBucketImpl, deleteBucketPolicyImpl, deleteInventoryConfigurationImpl, getBucketLocationImpl, getBucketMetadataImpl, getBucketPolicyImpl, getBucketStorageInfoImpl, getBucketStoragePolicyImpl, getBucketVersioningImpl, getInventoryConfigurationImpl, headBucketImpl, listAllBucketsImpl, listInventoryConfigurationImpl, listObjectsImpl, listVersionsImpl, optionsImpl, setBucketFSStatusImpl, setBucketPolicyImpl, setBucketStorageImpl, setInventoryConfigurationImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.RequestConvertor
transAppendObjectRequest, transConditionCopyHeaders, transConditionGetObjectHeaders, transCopyObjectRequest, transCopyPartRequest, transCreateBucketRequest, transExtensionPermissions, transGetContentSummaryFs, transGetObjectParams, transGetObjectRequest, transInitiateMultipartUploadRequest, transListContentSummaryFsRequest, transListContentSummaryRequest, transListObjectsRequest, transListVersionsRequest, transModifyObjectRequest, transPutObjectRequest, transRangeHeader, transRestoreObjectResultToRestoreObjectStatus, transSetObjectMetadataRequest, transSseCHeaders, transSseCSourceHeaders, transSseHeaders, transSseKmsHeaders, transUploadPartRequest, transWriteFileRequest从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.AclHeaderConvertor
getCredential, prepareRESTHeaderAcl, prepareRESTHeaderAclObject, putAclImpl从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.AbstractRequestConvertor
build, createRequestBody, getApiVersion, getHeaderByMethodName, getOptionInfoResult, getSpecialParamForStorageClass, putCleanedKeyAndValues, putHeader, setHeadersAndStatus, setHeadersAndStatus, transObjectRequest, transObjectRequestWithResult, transRequest, transRequestPaymentHeaders, transRequestPaymentHeaders, transRequestWithResult, verifyResponseContentType, verifyResponseContentTypeForJson从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestStorageService
addRequestHeadersToConnection, authorizeHttpRequest, convertHeadersToMap, getFileSystemDelimiter, getIConvertor, getIHeaders, getProviderCredentials, getRestHeaderPrefix, getRestMetadataPrefix, getXmlResponseSaxParser, isAuthTypeNegotiation, performRequest, performRequest, performRequest, performRequest, performRequest, performRequest, performRequestWithoutSignature, performRestDelete, performRestDelete, performRestDelete, performRestForApiVersion, performRestGet, performRestGet, performRestGet, performRestGetForListBuckets, performRestHead, performRestOptions, renameMetadataKeys, renameMetadataKeys, retryRequest, setCanUseStandardHTTPHeaders, setProviderCredentials, setUserHeaders从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.RestConnectionService
addRequestParametersToUrlPath, getEndpoint, getHttpPort, getHttpsOnly, getHttpsPort, initHttpClient, isCname, isKeepAlive, isPathStyle, setupConnection, shutdown, shutdownImpl从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.IFSClient
appendFile, deleteAccessLabelFs, dropFile, dropFolder, getAccessLabelFs, getAttribute, getBucketFSStatus, getContentSummaryFs, listContentSummary, listContentSummaryFs, newBucket, newFile, newFolder, readFile, renameFile, renameFolder, setAccessLabelFs, setBucketFSStatus, truncateFile, writeFile从接口继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.IObsClient
abortMultipartUpload, appendObject, completeMultipartUpload, copyObject, copyObject, copyPart, deleteBucketDirectColdAccess, deleteBucketDirectColdAccess, deleteBucketEncryption, deleteBucketEncryption, deleteBucketLifecycle, deleteBucketLifecycle, deleteBucketPolicy, deleteBucketPolicy, deleteBucketReplication, deleteBucketReplication, deleteBucketTagging, deleteBucketTagging, deleteBucketWebsite, deleteBucketWebsite, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjectTagging, deleteReadAheadObjects, doesObjectExist, doesObjectExist, downloadFile, getBucketDirectColdAccess, getBucketDirectColdAccess, getBucketEncryption, getBucketEncryption, getBucketLifecycle, getBucketLifecycle, getBucketNotification, getBucketNotification, getBucketPolicy, getBucketPolicy, getBucketPolicyV2, getBucketPolicyV2, getBucketReplication, getBucketReplication, getBucketTagging, getBucketTagging, getBucketWebsite, getBucketWebsite, getCrrProgress, getObject, getObject, getObject, getObjectAcl, getObjectAcl, getObjectAcl, getObjectMetadata, getObjectMetadata, getObjectMetadata, getObjectTagging, initiateMultipartUpload, listMultipartUploads, listObjects, listObjects, listParts, listVersions, listVersions, listVersions, listVersions, modifyObject, modifyObject, modifyObject, putObject, putObject, putObject, putObject, putObject, putObjectInTwoBucket, putObjects, queryReadAheadObjectsTask, readAheadObjects, renameObject, renameObject, restoreObject, restoreObjects, restoreObjectV2, selectObjectContent, setBucketDirectColdAccess, setBucketDirectColdAccess, setBucketEncryption, setBucketEncryption, setBucketLifecycle, setBucketLifecycle, setBucketNotification, setBucketNotification, setBucketPolicy, setBucketPolicy, setBucketReplication, setBucketReplication, setBucketTagging, setBucketTagging, setBucketWebsite, setBucketWebsite, setObjectAcl, setObjectAcl, setObjectAcl, setObjectMetadata, setObjectTagging, truncateObject, truncateObject, uploadFile, uploadPart, uploadPart, uploadPart
-
构造器详细资料
-
AbstractBucketClient
public AbstractBucketClient()
-
-
方法详细资料
-
createBucket
从接口复制的说明:IObsClientCreate a bucket.
Bucket naming rules:
- Contain only lowercase letters, digits, hyphens (-), and periods (.).
- Must start with a digit or a letter.
- Contain 3 to 63 characters.
- Cannot be an IP address.
- Cannot end with a hyphen (-).
- Cannot contain two consecutive periods (..).
- Cannot contain periods (.) and hyphens (-) adjacent to each other, for example, "my-.bucket" and "my.-bucket".
- 参数:
bucketName- Bucket name- 返回:
- Bucket information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
createBucket
从接口复制的说明:IObsClientCreate a bucket.
Create a bucket of a specific name in the given region.Bucket naming rules:
- Contain only lowercase letters, digits, hyphens (-), and periods (.).
- Must start with a digit or a letter.
- Contain 3 to 63 characters.
- Cannot be an IP address.s
- Cannot end with a hyphen (-).
- Cannot contain two consecutive periods (..).
- Cannot contain periods (.) and hyphens (-) adjacent to each other, for example, "my-.bucket" and "my.-bucket".
- 参数:
bucketName- Bucket namelocation- Bucket location. This parameter is mandatory unless the endpoint belongs to the default region.- 返回:
- Bucket information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
createBucket
从接口复制的说明:IObsClientCreate a bucket.
Create a bucket of a specific name in the given region.Bucket naming rules:
- Contain only lowercase letters, digits, hyphens (-), and periods (.).
- Must start with a digit or a letter.
- Contain 3 to 63 characters.
- Cannot be an IP address.
- Cannot end with a hyphen (-).
- Cannot contain two consecutive periods (..).
- Cannot contain periods (.) and hyphens (-) adjacent to each other, for example, "my-.bucket" and "my.-bucket".
- 参数:
bucket- Bucket information, including the request parameters- 返回:
- Bucket information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
createBucket
从接口复制的说明:IObsClientCreate a bucket.
Bucket naming rules:
- Contain only lowercase letters, digits, hyphens (-), and periods (.).
- Must start with a digit or a letter.
- Contain 3 to 63 characters.
- Cannot be an IP address.
- Cannot end with a hyphen (-).
- Cannot contain two consecutive periods (..).
- Cannot contain periods (.) and hyphens (-) adjacent to each other, for example, "my-.bucket" and "my.-bucket".
- 参数:
request- Request parameters for creating a bucket- 返回:
- Bucket information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
createVirtualBucket
public CreateVirtualBucketResult createVirtualBucket(CreateVirtualBucketRequest request) throws ObsException 从接口复制的说明:IObsClientCreate a virtual bucket.- 参数:
request- Request parameters for creating a virtual bucket- 返回:
- Virtual bucket information
- 抛出:
ObsException
-
listBuckets
从接口复制的说明:IObsClientObtain the bucket list.- 参数:
request- Obtain the request parameters for obtaining the bucket list.- 返回:
- Bucket list
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
listBucketsV2
从接口复制的说明:IObsClientObtain the bucket list.- 参数:
request- Obtain the request parameters for obtaining the bucket list.- 返回:
- Response to the request for obtaining the bucket list
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
listAliasBuckets
从接口复制的说明:IObsClientObtain the bucket alias list.- 返回:
- Alias Bucket list
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
headBucket
从接口复制的说明:IObsClientIdentify whether a bucket exists.- 参数:
bucketName- Bucket name- 返回:
- Identifier indicating whether the bucket exists
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
headBucket
从接口复制的说明:IObsClientIdentify whether a bucket exists.- 参数:
request- Request parameters- 返回:
- Identifier indicating whether the bucket exists
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucket
从接口复制的说明:IObsClientDelete a bucket.- 参数:
bucketName- Bucket name- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucket
从接口复制的说明:IObsClientDelete a bucket.- 参数:
request- Parameters of a request for deleting a bucket- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketMetadata
public BucketMetadataInfoResult getBucketMetadata(BucketMetadataInfoRequest request) throws ObsException 从接口复制的说明:IObsClientObtain bucket metadata.- 参数:
request- Request parameters for obtaining bucket metadata- 返回:
- Response to the request for obtaining bucket metadata
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketAcl
从接口复制的说明:IObsClientObtain a bucket ACL.- 参数:
bucketName- Bucket name- 返回:
- Bucket ACL
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketAcl
从接口复制的说明:IObsClientObtain a bucket ACL.- 参数:
request- Request parameters for obtaining the bucket ACL- 返回:
- Response to a request for obtaining the bucket ACL
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketAcl
从接口复制的说明:IObsClientSet a bucket ACL.- 参数:
bucketName- Bucket nameacl- ACL- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketAcl
从接口复制的说明:IObsClientSet a bucket ACL.- 参数:
request- Request parameters for setting a bucket ACL- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLocation
从接口复制的说明:IObsClientObtain the bucket location.- 参数:
bucketName- Bucket name- 返回:
- Bucket location
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLocation
从接口复制的说明:IObsClientObtain the bucket location.- 参数:
request- Request parameters- 返回:
- Response to the request for obtaining the bucket location
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLocationV2
从接口复制的说明:IObsClientObtain the bucket location.- 参数:
bucketName- Bucket name- 返回:
- Response to the request for obtaining the bucket location
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketStorageInfo
从接口复制的说明:IObsClientObtain bucket storage information.- 参数:
bucketName- Bucket name- 返回:
- Bcket storage information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketStorageInfo
从接口复制的说明:IObsClientObtain bucket storage information.- 参数:
request- Bucket name- 返回:
- Bucket storage information
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketQuota
从接口复制的说明:IObsClientObtain the bucket quota.- 参数:
bucketName- Bucket name- 返回:
- Bucket quota
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketQuota
从接口复制的说明:IObsClientObtain the bucket quota.- 参数:
request- Request parameters- 返回:
- Bucket quota
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketQuota
public HeaderResponse setBucketQuota(String bucketName, BucketQuota bucketQuota) throws ObsException 从接口复制的说明:IObsClientSet the bucket quota.- 参数:
bucketName- Bucket namebucketQuota- Bucket quota- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketQuota
从接口复制的说明:IObsClientSet the bucket quota.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketStoragePolicy
public BucketStoragePolicyConfiguration getBucketStoragePolicy(String bucketName) throws ObsException 从接口复制的说明:IObsClientObtain the bucket storage class.- 参数:
bucketName- Bucket name- 返回:
- Bucket storage policy
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketStoragePolicy
public BucketStoragePolicyConfiguration getBucketStoragePolicy(BaseBucketRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the bucket storage class.- 参数:
request- Request parameters- 返回:
- Bucket storage policy
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketStoragePolicy
public HeaderResponse setBucketStoragePolicy(String bucketName, BucketStoragePolicyConfiguration bucketStorage) throws ObsException 从接口复制的说明:IObsClientSet the bucket storage class.- 参数:
bucketName- Bucket namebucketStorage- Bucket storage policy- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketStoragePolicy
public HeaderResponse setBucketStoragePolicy(SetBucketStoragePolicyRequest request) throws ObsException 从接口复制的说明:IObsClientSet the bucket storage class.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketCors
从接口复制的说明:IObsClientConfigure the bucket CORS.- 参数:
bucketName- Bucket namebucketCors- CORS rules- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketCors
从接口复制的说明:IObsClientConfigure the bucket CORS.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketCors
从接口复制的说明:IObsClientObtain the bucket CORS rules.- 参数:
bucketName- Bucket name- 返回:
- Bucket CORS rules
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketCors
从接口复制的说明:IObsClientObtain the bucket CORS rules.- 参数:
request- Request parameters- 返回:
- Bucket CORS configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucketCors
从接口复制的说明:IObsClientDelete the bucket CORS rules.- 参数:
bucketName- Bucket name- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucketCors
从接口复制的说明:IObsClientDelete the bucket CORS rules.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLogging
从接口复制的说明:IObsClientObtain the logging settings of a bucket.- 参数:
bucketName- Bucket name- 返回:
- Logging settings of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLogging
从接口复制的说明:IObsClientObtain the logging settings of a bucket.- 参数:
request- Request parameters- 返回:
- Logging settings of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketLoggingConfiguration
public HeaderResponse setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, boolean updateTargetACLifRequired) throws ObsException - 抛出:
ObsException
-
setBucketLogging
public HeaderResponse setBucketLogging(String bucketName, BucketLoggingConfiguration loggingConfiguration) throws ObsException 从接口复制的说明:IObsClientConfigure logging for a bucket.- 参数:
bucketName- Bucket nameloggingConfiguration- Logging settings- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketLogging
从接口复制的说明:IObsClientConfigure logging for a bucket.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketVersioning
public HeaderResponse setBucketVersioning(String bucketName, BucketVersioningConfiguration versioningConfiguration) throws ObsException 从接口复制的说明:IObsClientSet the versioning status for a bucket.- 参数:
bucketName- Bucket nameversioningConfiguration- Versioning status of the bucket- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketVersioning
从接口复制的说明:IObsClientSet the versioning status for a bucket.- 参数:
request- Request parameters- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketVersioning
从接口复制的说明:IObsClientObtain the versioning status for a bucket.- 参数:
bucketName- Bucket name- 返回:
- Versioning status of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketVersioning
public BucketVersioningConfiguration getBucketVersioning(BaseBucketRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the versioning status for a bucket.- 参数:
request- Request parameters- 返回:
- Versioning status of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketRequestPayment
public HeaderResponse setBucketRequestPayment(String bucketName, RequestPaymentEnum payer) throws ObsException 从接口复制的说明:IObsClientConfigure the requester-pays function for a bucket.- 参数:
bucketName- Bucket namepayer- The status of the requester-pays function- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketRequestPayment
public HeaderResponse setBucketRequestPayment(SetBucketRequestPaymentRequest request) throws ObsException 从接口复制的说明:IObsClientConfigure the requester-pays function for a bucket.- 参数:
request- Configuration of the requester-pays function of a bucket- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketRequestPayment
从接口复制的说明:IObsClientObtain the status of the requester-pays function of a bucket.- 参数:
bucketName- Bucket name- 返回:
- Configuration of the requester-pays function of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketRequestPayment
public RequestPaymentConfiguration getBucketRequestPayment(BaseBucketRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the requester-pays status of a bucket.- 参数:
request- Basic bucket information- 返回:
- Configuration of the requester-pays function of the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucketCustomDomain
public HeaderResponse deleteBucketCustomDomain(String bucketName, String domainName) throws ObsException 从接口复制的说明:IObsBucketExtendClientDeleting the Custom Domain Name of a Bucket- 参数:
bucketName- Bucket namedomainName- Custom Domain Name- 返回:
- 抛出:
ObsException
-
deleteBucketCustomDomain
public HeaderResponse deleteBucketCustomDomain(DeleteBucketCustomDomainRequest request) throws ObsException 从接口复制的说明:IObsBucketExtendClientDeleting the Custom Domain Name of a Bucket- 参数:
request-- 返回:
- 抛出:
ObsException
-
getBucketCustomDomain
从接口复制的说明:IObsBucketExtendClientObtaining the Custom Domain Name of a Bucket- 参数:
bucketName- Bucket name- 返回:
- 抛出:
ObsException
-
getBucketCustomDomain
public BucketCustomDomainInfo getBucketCustomDomain(GetBucketCustomDomainRequest request) throws ObsException 从接口复制的说明:IObsBucketExtendClientObtaining the Custom Domain Name of a Bucket- 参数:
request-- 返回:
- 抛出:
ObsException
-
setBucketCustomDomain
public HeaderResponse setBucketCustomDomain(String bucketName, String domainName) throws ObsException 从接口复制的说明:IObsBucketExtendClientConfiguring a Custom Domain Name for a Bucket- 参数:
bucketName- Bucket namedomainName- Custom Domain Name- 返回:
- 抛出:
ObsException
-
setBucketCustomDomain
public HeaderResponse setBucketCustomDomain(SetBucketCustomDomainRequest request) throws ObsException 从接口复制的说明:IObsBucketExtendClientConfiguring a Custom Domain Name for a Bucket- 参数:
request-- 返回:
- 抛出:
ObsException
-
setInventoryConfiguration
public HeaderResponse setInventoryConfiguration(SetInventoryConfigurationRequest request) throws ObsException - 抛出:
ObsException
-
getInventoryConfiguration
public GetInventoryConfigurationResult getInventoryConfiguration(GetInventoryConfigurationRequest request) throws ObsException - 抛出:
ObsException
-
listInventoryConfiguration
public ListInventoryConfigurationResult listInventoryConfiguration(ListInventoryConfigurationRequest request) throws ObsException - 抛出:
ObsException
-
deleteInventoryConfiguration
public HeaderResponse deleteInventoryConfiguration(DeleteInventoryConfigurationRequest request) throws ObsException - 抛出:
ObsException
-