类 AbstractBucketAdvanceClient
java.lang.Object
com.obs.services.internal.RestConnectionService
com.obs.services.internal.RestStorageService
com.obs.services.internal.service.AbstractRequestConvertor
com.obs.services.internal.service.AclHeaderConvertor
com.obs.services.internal.service.RequestConvertor
com.obs.services.internal.service.ObsBucketBaseService
com.obs.services.internal.service.ObsBucketAdvanceService
com.obs.services.internal.service.ObsObjectBaseService
com.obs.services.internal.service.ObsMultipartObjectService
com.obs.services.internal.service.ObsObjectService
com.obs.services.internal.service.ObsFileService
com.obs.services.internal.service.ObsExtensionService
com.obs.services.internal.ObsService
com.obs.services.AbstractClient
com.obs.services.AbstractDeprecatedBucketClient
com.obs.services.AbstractBucketClient
com.obs.services.AbstractBucketAdvanceClient
- 所有已实现的接口:
IFSClient,IObsBucketExtendClient,IObsClient,Closeable,AutoCloseable
- 直接已知子类:
AbstractObjectClient
-
嵌套类概要
从类继承的嵌套类/接口 com.obs.services.AbstractClient
AbstractClient.ActionCallbackWithResult<T>从类继承的嵌套类/接口 com.obs.services.internal.service.AbstractRequestConvertor
com.obs.services.internal.service.AbstractRequestConvertor.TransResult -
字段概要
从类继承的字段 com.obs.services.internal.RestStorageService
CAN_USE_STANDARD_HTTP_HEADERS从类继承的字段 com.obs.services.internal.RestConnectionService
credentials, httpClient, keyManagerFactory, localTimeUtil, obsProperties, semaphore, shuttingDown, trustManagerFactory -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Delete the direct reading policy for Archive objects in a bucket.deleteBucketDirectColdAccess(String bucketName) Delete the direct reading policy for Archive objects in a bucket.deleteBucketEncryption(BaseBucketRequest request) Delete bucket encryption configuration.deleteBucketEncryption(String bucketName) Delete bucket encryption configuration.deleteBucketLifecycle(BaseBucketRequest request) Delete the bucket lifecycle rules from a bucket.Delete the bucket lifecycle rules from a bucket.deleteBucketLifecycle(String bucketName) Delete the bucket lifecycle rules from a bucket.deleteBucketPolicy(BaseBucketRequest request) Delete bucket policies.deleteBucketPolicy(String bucketName) Delete bucket policies.deleteBucketReplication(BaseBucketRequest request) Delete the bucket cross-region replication configuration.deleteBucketReplication(String bucketName) Delete the bucket cross-region replication configuration.deleteBucketTagging(BaseBucketRequest request) Delete bucket tags.deleteBucketTagging(String bucketName) Delete bucket tags.deleteBucketTrash(DeleteBucketTrashRequest deleteBucketTrashRequest) deleteBucketWebsite(BaseBucketRequest request) Delete the website hosting configuration of a bucket.deleteBucketWebsite(String bucketName) Delete the website hosting configuration of a bucket.Obtain the direct reading policy for Archive objects in a bucket.getBucketDirectColdAccess(String bucketName) Obtain the direct reading policy for Archive objects in a bucket.getBucketEncryption(BaseBucketRequest request) Obtain bucket encryption configuration.getBucketEncryption(String bucketName) Obtain bucket encryption configuration.Check whether the file gateway feature is enabled for the bucket.getBucketLifecycle(BaseBucketRequest request) Obtain the bucket lifecycle rules.Obtain the bucket lifecycle rules.getBucketLifecycle(String bucketName) Obtain the bucket lifecycle rules.getBucketNotification(BaseBucketRequest request) Obtain the notification configuration of a bucket.getBucketNotification(String bucketName) Obtain the notification configuration of a bucket.getBucketPolicy(BaseBucketRequest request) Obtain a bucket policy.getBucketPolicy(String bucketName) Obtain bucket policies.getBucketPolicyV2(BaseBucketRequest request) Obtain bucket policies.getBucketPolicyV2(String bucketName) Obtain bucket policies.getBucketReplication(BaseBucketRequest request) Obtain the cross-region replication configuration of a bucket.getBucketReplication(String bucketName) Obtain the cross-region replication configuration of a bucket.getBucketTagging(BaseBucketRequest request) Obtain bucket tags.getBucketTagging(String bucketName) Obtain bucket tags.getBucketTrash(GetBucketTrashRequest getBucketTrashRequest) getBucketWebsite(BaseBucketRequest request) Obtain the website hosting settings of a BucketgetBucketWebsite(String bucketName) Obtain the website hosting configuration of a BucketgetCrrProgress(GetCrrProgressRequest request) Configure the direct reading policy for Archive objects in a bucket.setBucketDirectColdAccess(String bucketName, BucketDirectColdAccess access) Set the direct reading policy for Archive objects in a bucket.Configure bucket encryption.setBucketEncryption(String bucketName, BucketEncryption bucketEncryption) Set bucket encryption.Specify whether to enable the file gateway feature for the bucket.Configure lifecycle rules for a bucket.setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig) Set the bucket lifecycle rules.Set event notification for a bucket.setBucketNotification(String bucketName, BucketNotificationConfiguration bucketNotificationConfiguration) Configure bucket notification.setBucketPolicy(SetBucketPolicyRequest request) Set bucket policies.setBucketPolicy(String bucketName, String policy) Set bucket policies.Configure cross-region replication for a bucket.setBucketReplication(String bucketName, ReplicationConfiguration replicationConfiguration) Configure cross-region replication for a bucket.setBucketTagging(SetBucketTaggingRequest request) Set bucket tags.setBucketTagging(String bucketName, BucketTagInfo bucketTagInfo) Set bucket tags.setBucketTrash(SetBucketTrashRequest setBucketTrashRequest) setBucketWebsite(SetBucketWebsiteRequest request) Configure website hosting for a bucket.setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig) Configure website hosting for a bucket.从类继承的方法 com.obs.services.AbstractBucketClient
createBucket, createBucket, createBucket, createBucket, createSnapshot, createVirtualBucket, deleteBucket, deleteBucket, deleteBucketCors, deleteBucketCors, deleteBucketCustomDomain, deleteBucketCustomDomain, deleteBucketQoS, deleteInventoryConfiguration, deleteSnapshot, getBucketAcl, getBucketAcl, getBucketCors, getBucketCors, getBucketCustomDomain, getBucketCustomDomain, getBucketLocation, getBucketLocation, getBucketLocationV2, getBucketLogging, getBucketLogging, getBucketMetadata, getBucketQoS, getBucketQuota, getBucketQuota, getBucketRequestPayment, getBucketRequestPayment, getBucketStorageInfo, getBucketStorageInfo, getBucketStoragePolicy, getBucketStoragePolicy, getBucketVersioning, getBucketVersioning, getInventoryConfiguration, getSnapshotList, getSnapshottableDirList, headBucket, headBucket, listAliasBuckets, listBuckets, listBucketsV2, listInventoryConfiguration, renameSnapshot, setBucketAcl, setBucketAcl, setBucketCors, setBucketCors, setBucketCustomDomain, setBucketCustomDomain, setBucketLogging, setBucketLogging, setBucketLoggingConfiguration, setBucketQos, setBucketQuota, setBucketQuota, setBucketRequestPayment, setBucketRequestPayment, setBucketStoragePolicy, setBucketStoragePolicy, setBucketVersioning, setBucketVersioning, setDisallowSnapshot, setInventoryConfiguration, setSnapshotAllow从类继承的方法 com.obs.services.AbstractDeprecatedBucketClient
createBucket, deleteBucketLifecycleConfiguration, deleteBucketReplicationConfiguration, deleteBucketWebsiteConfiguration, getBucketLifecycleConfiguration, getBucketLoggingConfiguration, getBucketReplicationConfiguration, getBucketWebsiteConfiguration, listBuckets, optionsBucket, setBucketAcl, setBucketCors, setBucketLifecycleConfiguration, setBucketLoggingConfiguration, setBucketReplicationConfiguration, setBucketVersioning, setBucketWebsiteConfiguration从类继承的方法 com.obs.services.AbstractClient
base64Md5, base64Md5, close, createGetTemporarySignature, createGetTemporarySignature, createPostSignature, createPostSignature, createPostSignature, createSignedUrl, createSignedUrl, createTemporarySignature, createV4PostSignature, createV4PostSignature, createV4PostSignature, createV4TemporarySignature, doActionWithResult, init, refresh从类继承的方法 com.obs.services.internal.ObsService
createPostSignatureResponse, createTemporarySignatureResponse, createV4TemporarySignature, initThreadPool, recordBulkTaskStatus从类继承的方法 com.obs.services.internal.service.ObsExtensionService
createFetchJobImpl, deleteExtensionPolicyImpl, deleteReadAheadObjectsImpl, queryExtensionPolicyImpl, queryFetchJobImpl, queryReadAheadObjectsTaskImpl, readAheadObjectsImpl, setExtensionPolicyImpl从类继承的方法 com.obs.services.internal.service.ObsFileService
deleteAccessLabelFsImpl, getAccessLabelFsImpl, getContentSummaryFsImpl, listContentSummaryFsImpl, listContentSummaryImpl, renameFileImpl, setAccessLabelFsImpl, truncateFileImpl, writeFileImpl从类继承的方法 com.obs.services.internal.service.ObsObjectService
appendObjectImpl, deleteObjectTaggingImpl, getObjectTaggingImpl, getSymlinkImpl, modifyObjectImpl, putSymlinkImpl, renameObjectImpl, restoreObjectImpl, restoreObjectV2Impl, setObjectTaggingImpl, truncateObjectImpl从类继承的方法 com.obs.services.internal.service.ObsMultipartObjectService
abortMultipartUploadImpl, completeMultipartUploadImpl, copyPartImpl, initiateMultipartUploadImpl, listMultipartUploadsImpl, listPartsImpl, uploadPartImpl从类继承的方法 com.obs.services.internal.service.ObsObjectBaseService
copyObjectImpl, deleteObjectImpl, deleteObjectsImpl, doesObjectExistImpl, getObjectAclImpl, getObjectImpl, getObjectImpl, getObjectMetadataImpl, getObjectUrl, getObsFSAttributeFromResponse, putObjectImpl, putObjectInTwoBucketImpl, selectObjectContentImpl, setObjectAclImpl, setObjectMetadataImpl从类继承的方法 com.obs.services.internal.service.ObsBucketAdvanceService
bindBucketAliasImpl, createBucketAliasImpl, createBucketWithClusterId, createVirtualBucketImpl, deleteBucketCorsImpl, deleteBucketCustomDomainImpl, deleteBucketDirectColdAccessImpl, deleteBucketEncryptionImpl, deleteBucketLifecycleConfigurationImpl, deleteBucketLifecycleConfigurationImpl, deleteBucketPublicAccessBlockImpl, deleteBucketQosImpl, deleteBucketReplicationConfigurationImpl, deleteBucketTaggingImpl, deleteBucketTrashImpl, deleteBucketWebsiteConfigurationImpl, getBucketAclImpl, getBucketCorsImpl, getBucketCustomDomainImpl, getBucketDirectColdAccessImpl, getBucketEncryptionImpl, getBucketLifecycleConfigurationImpl, getBucketLifecycleConfigurationImpl, getBucketLoggingConfigurationImpl, getBucketNotificationConfigurationImpl, getBucketPolicyPublicStatusImpl, getBucketPublicAccessBlockImpl, getBucketPublicStatusImpl, getBucketQosImpl, getBucketQuotaImpl, getBucketReplicationConfigurationImpl, getBucketRequestPaymentImpl, getBucketTaggingImpl, getBucketTrashImpl, getBucketWebsiteConfigurationImpl, getCrrProgressImpl, listAliasBucketsImpl, listAvailableZoneInfo, putBucketPublicAccessBlockImpl, setBucketAclImpl, setBucketCorsImpl, setBucketCustomDomainImpl, setBucketDirectColdAccessImpl, setBucketEncryptionImpl, setBucketLifecycleConfigurationImpl, setBucketLoggingConfigurationImpl, setBucketNotificationImpl, setBucketQosImpl, setBucketQuotaImpl, setBucketReplicationConfigurationImpl, setBucketRequestPaymentImpl, setBucketTaggingImpl, setBucketTrashImpl, setBucketVersioningImpl, setBucketWebsiteConfigurationImpl, setVirtualReplication从类继承的方法 com.obs.services.internal.service.ObsBucketBaseService
createBucketImpl, createSnapshotImpl, deleteBucketImpl, deleteBucketPolicyImpl, deleteInventoryConfigurationImpl, deleteSnapshotImpl, getBucketLocationImpl, getBucketMetadataImpl, getBucketPolicyImpl, getBucketStorageInfoImpl, getBucketStoragePolicyImpl, getBucketVersioningImpl, getInventoryConfigurationImpl, getSnapshotListImpl, getSnapshottableDirListImpl, headBucketImpl, listAllBucketsImpl, listInventoryConfigurationImpl, listObjectsImpl, listVersionsImpl, optionsImpl, renameSnapshotImpl, setBucketFSStatusImpl, setBucketPolicyImpl, setBucketStorageImpl, setDisallowSnapshotImpl, setInventoryConfigurationImpl, setSnapshotAllowImpl从类继承的方法 com.obs.services.internal.service.RequestConvertor
prepareSymlinkTargetHeader, transAppendObjectRequest, transConditionCopyHeaders, transConditionGetObjectHeaders, transCopyObjectRequest, transCopyPartRequest, transCreateBucketRequest, transExtensionPermissions, transGetContentSummaryFs, transGetObjectParams, transGetObjectRequest, transGetSnapshottableDirListRequest, transInitiateMultipartUploadRequest, transListContentSummaryFsRequest, transListContentSummaryRequest, transListObjectsRequest, transListVersionsRequest, transModifyObjectRequest, transPutObjectRequest, transPutSymlinkRequest, transRangeHeader, transRestoreObjectResultToRestoreObjectStatus, transSetObjectMetadataRequest, transSseCHeaders, transSseCSourceHeaders, transSseHeaders, transSseKmsHeaders, transUploadPartRequest, transWriteFileRequest, tryAddCrc64ForPutObjectRequest, tryAddCrc64ForUploadPartRequest从类继承的方法 com.obs.services.internal.service.AclHeaderConvertor
getCredential, prepareRESTHeaderAcl, prepareRESTHeaderAclObject, putAclImpl从类继承的方法 com.obs.services.internal.service.AbstractRequestConvertor
build, createRequestBody, getApiVersion, getHeaderByMethodName, getOptionInfoResult, getSpecialParamForStorageClass, putCleanedKeyAndValues, putHeader, setHeadersAndStatus, setHeadersAndStatus, transObjectRequest, transObjectRequestWithResult, transRequest, transRequestPaymentHeaders, transRequestPaymentHeaders, transRequestWithResult, verifyResponseContentType, verifyResponseContentTypeForJson从类继承的方法 com.obs.services.internal.RestStorageService
addNonRetrievableClass, addRequestHeadersToConnection, authorizeHttpRequest, convertHeadersToMap, getErrorCodeFromHeader, getFileSystemDelimiter, getIConvertor, getIHeaders, getNonRetrievableClasses, getProviderCredentials, getRestHeaderPrefix, getRestMetadataPrefix, getXmlResponseSaxParser, isAuthTypeNegotiation, performRequest, performRequest, performRequest, performRequest, performRequest, performRequest, performRequestWithoutSignature, performRestDelete, performRestDelete, performRestDelete, performRestForApiVersion, performRestGet, performRestGet, performRestGet, performRestGetForListBuckets, performRestHead, performRestOptions, removeNonRetrievableClass, renameMetadataKeys, renameMetadataKeys, retryRequest, setCanUseStandardHTTPHeaders, setProviderCredentials, setUserHeaders从类继承的方法 com.obs.services.internal.RestConnectionService
addRequestParametersToUrlPath, getEndpoint, getHttpPort, getHttpsOnly, getHttpsPort, getLocalTimeUtil, initHttpClient, isCname, isKeepAlive, isPathStyle, setLocalTimeUtil, setupConnection, shutdown, shutdownImpl从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.obs.services.IFSClient
appendFile, deleteAccessLabelFs, dropFile, dropFolder, getAccessLabelFs, getAttribute, getContentSummaryFs, listContentSummary, listContentSummaryFs, newBucket, newFile, newFolder, readFile, renameFile, renameFolder, setAccessLabelFs, truncateFile, writeFile从接口继承的方法 com.obs.services.IObsClient
abortMultipartUpload, appendObject, completeMultipartUpload, copyObject, copyObject, copyPart, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjectTagging, deleteReadAheadObjects, doesObjectExist, doesObjectExist, downloadFile, getObject, getObject, getObject, getObjectAcl, getObjectAcl, getObjectAcl, getObjectMetadata, getObjectMetadata, getObjectMetadata, getObjectTagging, getSymlink, initiateMultipartUpload, listMultipartUploads, listObjects, listObjects, listParts, listVersions, listVersions, listVersions, listVersions, modifyObject, modifyObject, modifyObject, putObject, putObject, putObject, putObject, putObject, putObjectInTwoBucket, putObjects, putSymlink, queryReadAheadObjectsTask, readAheadObjects, renameObject, renameObject, restoreObject, restoreObjects, restoreObjectV2, selectObjectContent, setObjectAcl, setObjectAcl, setObjectAcl, setObjectMetadata, setObjectTagging, truncateObject, truncateObject, uploadFile, uploadPart, uploadPart, uploadPart
-
构造器详细资料
-
AbstractBucketAdvanceClient
public AbstractBucketAdvanceClient()
-
-
方法详细资料
-
getBucketLifecycle
从接口复制的说明:IObsClientObtain the bucket lifecycle rules.- 参数:
bucketName- Bucket name- 返回:
- Bucket lifecycle rules
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLifecycle
从接口复制的说明:IObsClientObtain the bucket lifecycle rules.- 参数:
request- Request parameters- 返回:
- Bucket lifecycle rules
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketLifecycle
public LifecycleConfiguration getBucketLifecycle(GetBucketLifecycleRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the bucket lifecycle rules.- 参数:
request- Request parameters- 返回:
- Bucket lifecycle rules
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketLifecycle
public HeaderResponse setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig) throws ObsException 从接口复制的说明:IObsClientSet the bucket lifecycle rules.- 参数:
bucketName- Bucket namelifecycleConfig- Bucket lifecycle rules- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketLifecycle
从接口复制的说明:IObsClientConfigure lifecycle rules 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
-
deleteBucketLifecycle
从接口复制的说明:IObsClientDelete the bucket lifecycle rules from 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
-
deleteBucketLifecycle
从接口复制的说明:IObsClientDelete the bucket lifecycle rules from 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
-
deleteBucketLifecycle
public HeaderResponse deleteBucketLifecycle(DeleteBucketLifecycleRequest request) throws ObsException 从接口复制的说明:IObsClientDelete the bucket lifecycle rules from a bucket.- 指定者:
deleteBucketLifecycle在接口中IObsClient- 指定者:
deleteBucketLifecycle在类中AbstractBucketClient- 参数:
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
-
getBucketPolicy
从接口复制的说明:IObsClientObtain bucket policies.- 参数:
bucketName- Bucket name- 返回:
- Bucket policy, in the JSON format
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketPolicy
从接口复制的说明:IObsClientObtain a bucket policy.- 参数:
request- Request parameters- 返回:
- Bucket policy, in the JSON format
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketPolicyV2
从接口复制的说明:IObsClientObtain bucket policies.- 参数:
bucketName- Bucket name- 返回:
- Response to a request for obtaining bucket policies
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketPolicyV2
从接口复制的说明:IObsClientObtain bucket policies.- 参数:
request- Request parameters- 返回:
- Response to a request for obtaining bucket policies
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketPolicy
从接口复制的说明:IObsClientSet bucket policies.- 参数:
bucketName- Bucket namepolicy- Bucket policy, in the JSON format- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketPolicy
从接口复制的说明:IObsClientSet bucket policies.- 参数:
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
-
deleteBucketPolicy
从接口复制的说明:IObsClientDelete bucket policies.- 参数:
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
-
deleteBucketPolicy
从接口复制的说明:IObsClientDelete bucket policies.- 参数:
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
-
getBucketWebsite
从接口复制的说明:IObsClientObtain the website hosting configuration of a Bucket- 参数:
bucketName- Bucket name- 返回:
- Website hosting configuration of a bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketWebsite
从接口复制的说明:IObsClientObtain the website hosting settings of a Bucket- 参数:
request- Request parameters- 返回:
- Website hosting configuration of a bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketWebsite
public HeaderResponse setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig) throws ObsException 从接口复制的说明:IObsClientConfigure website hosting for a bucket.- 参数:
bucketName- Bucket namewebsiteConfig- Website hosting configuration 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
-
setBucketWebsite
从接口复制的说明:IObsClientConfigure website hosting 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
-
deleteBucketWebsite
从接口复制的说明:IObsClientDelete the website hosting configuration of 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
-
deleteBucketWebsite
从接口复制的说明:IObsClientDelete the website hosting configuration of 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
-
getBucketTagging
从接口复制的说明:IObsClientObtain bucket tags.- 参数:
bucketName- Bucket name- 返回:
- Bucket tag
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketTagging
从接口复制的说明:IObsClientObtain bucket tags.- 参数:
request- Request parameters- 返回:
- Bucket tag
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketTagging
public HeaderResponse setBucketTagging(String bucketName, BucketTagInfo bucketTagInfo) throws ObsException 从接口复制的说明:IObsClientSet bucket tags.- 参数:
bucketName- Bucket namebucketTagInfo- Bucket tags- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketTagging
从接口复制的说明:IObsClientSet bucket tags.- 参数:
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
-
deleteBucketTagging
从接口复制的说明:IObsClientDelete bucket tags.- 参数:
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
-
deleteBucketTagging
从接口复制的说明:IObsClientDelete bucket tags.- 参数:
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
-
getBucketEncryption
从接口复制的说明:IObsClientObtain bucket encryption configuration.- 参数:
bucketName- Bucket name- 返回:
- Bucket encryption configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketEncryption
从接口复制的说明:IObsClientObtain bucket encryption configuration.- 参数:
request- Request parameters- 返回:
- Bucket encryption configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketEncryption
public HeaderResponse setBucketEncryption(String bucketName, BucketEncryption bucketEncryption) throws ObsException 从接口复制的说明:IObsClientSet bucket encryption.- 参数:
bucketName- Bucket namebucketEncryption- Bucket encryption configuration- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketEncryption
从接口复制的说明:IObsClientConfigure bucket encryption.- 参数:
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
-
deleteBucketEncryption
从接口复制的说明:IObsClientDelete bucket encryption configuration.- 参数:
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
-
deleteBucketEncryption
从接口复制的说明:IObsClientDelete bucket encryption configuration.- 参数:
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
-
setBucketReplication
public HeaderResponse setBucketReplication(String bucketName, ReplicationConfiguration replicationConfiguration) throws ObsException 从接口复制的说明:IObsClientConfigure cross-region replication for a bucket.- 参数:
bucketName- Bucket namereplicationConfiguration- Cross-region replication configuration- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketReplication
从接口复制的说明:IObsClientConfigure cross-region replication 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
-
getBucketReplication
从接口复制的说明:IObsClientObtain the cross-region replication configuration of a bucket.- 参数:
bucketName- Bucket name- 返回:
- Cross-region replication configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketReplication
从接口复制的说明:IObsClientObtain the cross-region replication configuration of a bucket.- 参数:
request- Request parameters- 返回:
- Cross-region replication configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getCrrProgress
- 抛出:
ObsException
-
deleteBucketReplication
从接口复制的说明:IObsClientDelete the bucket cross-region replication configuration.- 参数:
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
-
deleteBucketReplication
从接口复制的说明:IObsClientDelete the bucket cross-region replication configuration.- 参数:
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
-
getBucketNotification
从接口复制的说明:IObsClientObtain the notification configuration of a bucket.- 参数:
bucketName- Bucket name- 返回:
- Bucket notification configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketNotification
public BucketNotificationConfiguration getBucketNotification(BaseBucketRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the notification configuration of a bucket.- 参数:
request- Request parameters- 返回:
- Bucket notification configuration
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketNotification
public HeaderResponse setBucketNotification(String bucketName, BucketNotificationConfiguration bucketNotificationConfiguration) throws ObsException 从接口复制的说明:IObsClientConfigure bucket notification.- 参数:
bucketName- Bucket namebucketNotificationConfiguration- Bucket notification configuration- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketNotification
public HeaderResponse setBucketNotification(SetBucketNotificationRequest request) throws ObsException 从接口复制的说明:IObsClientSet event notification 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
-
setBucketFSStatus
从接口复制的说明:IFSClientSpecify whether to enable the file gateway feature for the bucket.- 参数:
request- Request parameters for specifying whether to enable the file gateway feature for the bucket- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketFSStatus
public GetBucketFSStatusResult getBucketFSStatus(GetBucketFSStatusRequest request) throws ObsException 从接口复制的说明:IFSClientCheck whether the file gateway feature is enabled for the bucket.- 参数:
request- Request parameters for checking whether the file gateway feature is enabled for the bucket- 返回:
- Response to the check of whether the file gateway feature is enabled for the bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketDirectColdAccess
public HeaderResponse setBucketDirectColdAccess(String bucketName, BucketDirectColdAccess access) throws ObsException 从接口复制的说明:IObsClientSet the direct reading policy for Archive objects in a bucket.- 参数:
bucketName- Bucket nameaccess- Direct reading policy- 返回:
- Common response headers
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
setBucketDirectColdAccess
public HeaderResponse setBucketDirectColdAccess(SetBucketDirectColdAccessRequest request) throws ObsException 从接口复制的说明:IObsClientConfigure the direct reading policy for Archive objects in 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
-
getBucketDirectColdAccess
从接口复制的说明:IObsClientObtain the direct reading policy for Archive objects in a bucket.- 参数:
bucketName- Bucket name- 返回:
- Direct reading policy for Archive objects of a bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
getBucketDirectColdAccess
public BucketDirectColdAccess getBucketDirectColdAccess(BaseBucketRequest request) throws ObsException 从接口复制的说明:IObsClientObtain the direct reading policy for Archive objects in a bucket.- 参数:
request- Request parameters- 返回:
- Direct reading policy for Archive objects in a bucket
- 抛出:
ObsException- OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
-
deleteBucketDirectColdAccess
从接口复制的说明:IObsClientDelete the direct reading policy for Archive objects in 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
-
setBucketTrash
public HeaderResponse setBucketTrash(SetBucketTrashRequest setBucketTrashRequest) throws ObsException - 抛出:
ObsException
-
getBucketTrash
public GetBucketTrashResult getBucketTrash(GetBucketTrashRequest getBucketTrashRequest) throws ObsException - 抛出:
ObsException
-
deleteBucketTrash
public HeaderResponse deleteBucketTrash(DeleteBucketTrashRequest deleteBucketTrashRequest) throws ObsException - 抛出:
ObsException
-
deleteBucketDirectColdAccess
从接口复制的说明:IObsClientDelete the direct reading policy for Archive objects in 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
-
putBucketPublicAccessBlock
public HeaderResponse putBucketPublicAccessBlock(PutBucketPublicAccessBlockRequest request) throws ObsException - 参数:
request-- 返回:
- 抛出:
ObsException
-
getBucketPublicAccessBlock
public GetBucketPublicAccessBlockResult getBucketPublicAccessBlock(GetBucketPublicAccessBlockRequest request) throws ObsException - 参数:
request-- 返回:
- 抛出:
ObsException
-
deleteBucketPublicAccessBlock
public HeaderResponse deleteBucketPublicAccessBlock(DeleteBucketPublicAccessBlockRequest request) throws ObsException - 参数:
request-- 返回:
- 抛出:
ObsException
-
getBucketPolicyPublicStatus
public GetBucketPolicyPublicStatusResult getBucketPolicyPublicStatus(GetBucketPolicyPublicStatusRequest request) throws ObsException - 参数:
request-- 返回:
- 抛出:
ObsException
-
getBucketPublicStatus
public GetBucketPublicStatusResult getBucketPublicStatus(GetBucketPublicStatusRequest request) throws ObsException - 参数:
request-- 返回:
- 抛出:
ObsException
-