类 AbstractBucketAdvanceClient

所有已实现的接口:
IFSClient, IObsBucketExtendClient, IObsClient, Closeable, AutoCloseable
直接已知子类:
AbstractObjectClient

public abstract class AbstractBucketAdvanceClient extends AbstractBucketClient
  • 构造器详细资料

    • AbstractBucketAdvanceClient

      public AbstractBucketAdvanceClient()
  • 方法详细资料

    • getBucketLifecycle

      public LifecycleConfiguration getBucketLifecycle(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public LifecycleConfiguration getBucketLifecycle(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Set the bucket lifecycle rules.
      参数:
      bucketName - Bucket name
      lifecycleConfig - 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

      public HeaderResponse setBucketLifecycle(SetBucketLifecycleRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Configure 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

      public HeaderResponse deleteBucketLifecycle(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketLifecycle(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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
    • getBucketPolicy

      public String getBucketPolicy(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public String getBucketPolicy(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public BucketPolicyResponse getBucketPolicyV2(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public BucketPolicyResponse getBucketPolicyV2(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public HeaderResponse setBucketPolicy(String bucketName, String policy) throws ObsException
      从接口复制的说明: IObsClient
      Set bucket policies.
      参数:
      bucketName - Bucket name
      policy - 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

      public HeaderResponse setBucketPolicy(SetBucketPolicyRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Set 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

      public HeaderResponse deleteBucketPolicy(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketPolicy(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public WebsiteConfiguration getBucketWebsite(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public WebsiteConfiguration getBucketWebsite(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Configure website hosting for a bucket.
      参数:
      bucketName - Bucket name
      websiteConfig - 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

      public HeaderResponse setBucketWebsite(SetBucketWebsiteRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Configure 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

      public HeaderResponse deleteBucketWebsite(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketWebsite(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public BucketTagInfo getBucketTagging(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public BucketTagInfo getBucketTagging(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Set bucket tags.
      参数:
      bucketName - Bucket name
      bucketTagInfo - 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

      public HeaderResponse setBucketTagging(SetBucketTaggingRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Set 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

      public HeaderResponse deleteBucketTagging(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketTagging(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public BucketEncryption getBucketEncryption(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public BucketEncryption getBucketEncryption(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Set bucket encryption.
      参数:
      bucketName - Bucket name
      bucketEncryption - 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

      public HeaderResponse setBucketEncryption(SetBucketEncryptionRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Configure 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

      public HeaderResponse deleteBucketEncryption(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketEncryption(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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
      从接口复制的说明: IObsClient
      Configure cross-region replication for a bucket.
      参数:
      bucketName - Bucket name
      replicationConfiguration - 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

      public HeaderResponse setBucketReplication(SetBucketReplicationRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Configure 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

      public ReplicationConfiguration getBucketReplication(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public ReplicationConfiguration getBucketReplication(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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

      public GetCrrProgressResult getCrrProgress(GetCrrProgressRequest request) throws ObsException
      抛出:
      ObsException
    • deleteBucketReplication

      public HeaderResponse deleteBucketReplication(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public HeaderResponse deleteBucketReplication(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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

      public BucketNotificationConfiguration getBucketNotification(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Configure bucket notification.
      参数:
      bucketName - Bucket name
      bucketNotificationConfiguration - 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
      从接口复制的说明: IObsClient
      Set 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

      public HeaderResponse setBucketFSStatus(SetBucketFSStatusRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Specify 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
      从接口复制的说明: IFSClient
      Check 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
      从接口复制的说明: IObsClient
      Set the direct reading policy for Archive objects in a bucket.
      参数:
      bucketName - Bucket name
      access - 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
      从接口复制的说明: IObsClient
      Configure 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

      public BucketDirectColdAccess getBucketDirectColdAccess(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Obtain 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
      从接口复制的说明: IObsClient
      Obtain 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

      public HeaderResponse deleteBucketDirectColdAccess(String bucketName) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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
    • deleteBucketDirectColdAccess

      public HeaderResponse deleteBucketDirectColdAccess(BaseBucketRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Delete 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