public class SecretFlexibleObsClient extends ObsClient
ObsClient
Constructor and Description |
---|
SecretFlexibleObsClient(ObsConfiguration config)
Constructor
|
SecretFlexibleObsClient(String endPoint)
Constructor
|
SecretFlexibleObsClient(String accessKey,
String secretKey,
ObsConfiguration config)
Constructor
|
SecretFlexibleObsClient(String accessKey,
String secretKey,
String endPoint)
Constructor
|
SecretFlexibleObsClient(String accessKey,
String secretKey,
String securityToken,
ObsConfiguration config)
Constructor
|
SecretFlexibleObsClient(String accessKey,
String secretKey,
String securityToken,
String endPoint)
Constructor
|
abortMultipartUpload, appendFile, appendObject, base64Md5, base64Md5, close, completeMultipartUpload, copyObject, copyObject, copyPart, createBucket, createBucket, createBucket, createBucket, createBucket, createGetTemporarySignature, createGetTemporarySignature, createPostSignature, createPostSignature, createPostSignature, createSignedUrl, createSignedUrl, createTemporarySignature, createV4PostSignature, createV4PostSignature, createV4PostSignature, createV4TemporarySignature, deleteBucket, deleteBucketCors, deleteBucketDirectColdAccess, deleteBucketEncryption, deleteBucketLifecycle, deleteBucketLifecycleConfiguration, deleteBucketPolicy, deleteBucketReplication, deleteBucketReplicationConfiguration, deleteBucketTagging, deleteBucketWebsite, deleteBucketWebsiteConfiguration, deleteObject, deleteObject, deleteObjects, deleteReadAheadObjects, doesObjectExist, doesObjectExist, downloadFile, dropFile, dropFolder, finalize, getAttribute, getBucketAcl, getBucketCors, getBucketDirectColdAccess, getBucketEncryption, getBucketFSStatus, getBucketLifecycle, getBucketLifecycleConfiguration, getBucketLocation, getBucketLocationV2, getBucketLogging, getBucketLoggingConfiguration, getBucketMetadata, getBucketNotification, getBucketPolicy, getBucketPolicyV2, getBucketQuota, getBucketReplication, getBucketReplicationConfiguration, getBucketStorageInfo, getBucketStoragePolicy, getBucketTagging, getBucketVersioning, getBucketWebsite, getBucketWebsiteConfiguration, getObject, getObject, getObject, getObjectAcl, getObjectAcl, getObjectMetadata, getObjectMetadata, getObjectMetadata, headBucket, initiateMultipartUpload, listBuckets, listBuckets, listBucketsV2, listMultipartUploads, listObjects, listObjects, listParts, listVersions, listVersions, listVersions, listVersions, listVersions, newBucket, newFile, newFolder, optionsBucket, optionsObject, putObject, putObject, putObject, putObject, putObject, putObjects, queryReadAheadObjectsTask, readAheadObjects, readFile, refresh, renameFile, renameFolder, restoreObject, restoreObjects, restoreObjectV2, setBucketAcl, setBucketAcl, setBucketCors, setBucketCors, setBucketDirectColdAccess, setBucketEncryption, setBucketFSStatus, setBucketLifecycle, setBucketLifecycleConfiguration, setBucketLogging, setBucketLoggingConfiguration, setBucketLoggingConfiguration, setBucketNotification, setBucketPolicy, setBucketQuota, setBucketReplication, setBucketReplicationConfiguration, setBucketStoragePolicy, setBucketTagging, setBucketVersioning, setBucketVersioning, setBucketWebsite, setBucketWebsiteConfiguration, setObjectAcl, setObjectAcl, setObjectAcl, setObjectMetadata, truncateFile, uploadFile, uploadPart, uploadPart, uploadPart, writeFile
_createPostSignature, _createTemporarySignature, abortMultipartUploadImpl, appendObjectImpl, completeMultipartUploadImpl, copyObjectImpl, copyPartImpl, createBucketImpl, createFetchJobImpl, createRequestBody, createV4TemporarySignature, deleteBucketCorsImpl, deleteBucketDirectColdAccessImpl, deleteBucketEncryptionImpl, deleteBucketImpl, deleteBucketLifecycleConfigurationImpl, deleteBucketPolicyImpl, deleteBucketReplicationConfigurationImpl, deleteBucketTaggingImpl, deleteBucketWebsiteConfigurationImpl, deleteDisPolicyImpl, deleteExtensionPolicyImpl, deleteObjectImpl, deleteObjectsImpl, DeleteReadAheadObjectsImpl, doesObjectExistImpl, getApiVersion, getBucketAclImpl, getBucketCorsImpl, getBucketDirectColdAccessImpl, getBucketEncryptionImpl, getBucketLifecycleConfigurationImpl, getBucketLocationImpl, getBucketLoggingConfigurationImpl, getBucketMetadataImpl, getBucketNotificationConfigurationImpl, getBucketPolicyImpl, getBucketQuotaImpl, getBucketReplicationConfigurationImpl, getBucketStorageInfoImpl, getBucketStoragePolicyImpl, getBucketTaggingImpl, getBucketVersioningImpl, getBucketWebsiteConfigurationImpl, getCredential, getDisPolicyImpl, getObjectAclImpl, getObjectImpl, getObjectImpl, getObjectMetadataImpl, headBucketImpl, initiateMultipartUploadImpl, initThreadPool, listAllBucketsImpl, listMultipartUploadsImpl, listObjectsImpl, listPartsImpl, listVersionsImpl, optionsImpl, putDisPolicyImpl, putObjectImpl, queryExtensionPolicyImpl, queryFetchJobImpl, queryReadAheadObjectsTaskImpl, readAheadObjectsImpl, recordBulkTaskStatus, renameObjectImpl, restoreObjectImpl, restoreObjectV2Impl, setBucketAclImpl, setBucketCorsImpl, setBucketDirectColdAccessImpl, setBucketEncryptionImpl, setBucketFSStatusImpl, setBucketLifecycleConfigurationImpl, setBucketLoggingConfigurationImpl, setBucketNotificationImpl, setBucketPolicyImpl, setBucketQuotaImpl, setBucketReplicationConfigurationImpl, setBucketStorageImpl, setBucketTaggingImpl, setBucketVersioningImpl, setBucketWebsiteConfigurationImpl, setExtensionPolicyImpl, setObjectAclImpl, setObjectMetadataImpl, truncateFileImpl, uploadPartImpl, verifyResponseContentType, verifyResponseContentTypeForJson, writeFileImpl
addRequestHeadersToConnection, addRequestParametersToUrlPath, addRequestParametersToUrlPath, authorizeHttpRequest, convertHeadersToMap, getApiVersionCache, getEndpoint, getFileSystemDelimiter, getHttpPort, getHttpsOnly, getHttpsPort, getIConvertor, getIHeaders, getProviderCredentials, getRestHeaderPrefix, getRestMetadataPrefix, getXmlResponseSaxParser, initHttpClient, isAuthTypeNegotiation, isCname, isKeepAlive, isPathStyle, performRequest, performRequest, performRequest, performRequestAsync, performRequestAsync, performRequestAsync, performRequesttWithoutSignatureAsync, performRequestWithoutSignature, performRestDelete, performRestDelete, performRestDelete, performRestDelete, performRestForApiVersion, performRestGet, performRestGet, performRestGetForListBuckets, performRestHead, performRestOptions, performRestPost, performRestPost, performRestPut, performRestPut, renameMetadataKeys, retryRequest, setProviderCredentials, setupConnection, setupConnection, setupConnection, shutdown, shutdownImpl, sleepOnInternalError
public SecretFlexibleObsClient(ObsConfiguration config)
config
- Configuration parameters of ObsClientpublic SecretFlexibleObsClient(String endPoint)
endPoint
- OBS endpointpublic SecretFlexibleObsClient(String accessKey, String secretKey, ObsConfiguration config)
accessKey
- AK in the access keysecretKey
- SK in the access keyconfig
- Configuration parameters of ObsClientpublic SecretFlexibleObsClient(String accessKey, String secretKey, String endPoint)
accessKey
- AK in the access keysecretKey
- SK in the access keyendPoint
- OBS endpointpublic SecretFlexibleObsClient(String accessKey, String secretKey, String securityToken, ObsConfiguration config)
accessKey
- AK in the temporary access keysecretKey
- SK in the temporary access keysecurityToken
- Security tokenconfig
- Configuration parameters of ObsClientpublic ObsBucket createBucket(ObsBucket bucket, String accessKey, String secretKey) throws ObsException
ObsException
public ObsBucket createBucket(ObsBucket bucket, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public List<ObsBucket> listBuckets(String accessKey, String secretKey) throws ObsException
ObsException
public List<ObsBucket> listBuckets(String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public List<ObsBucket> listBuckets(ListBucketsRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public List<ObsBucket> listBuckets(ListBucketsRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucket(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucket(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ObjectListing listObjects(ListObjectsRequest listObjectsRequest, String accessKey, String secretKey) throws ObsException
ObsException
public ObjectListing listObjects(ListObjectsRequest listObjectsRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public boolean headBucket(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public boolean headBucket(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public ListVersionsResult listVersions(String bucketName, String prefix, String delimiter, String keyMarker, String versionIdMarker, long maxKeys, String nextVersionIdMarker, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public ListVersionsResult listVersions(String bucketName, String prefix, String delimiter, String keyMarker, String versionIdMarker, long maxKeys, String nextVersionIdMarker, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ListVersionsResult listVersions(ListVersionsRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public ListVersionsResult listVersions(ListVersionsRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ListVersionsResult listVersions(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public ListVersionsResult listVersions(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ListVersionsResult listVersions(String bucketName, long maxKeys, String accessKey, String secretKey) throws ObsException
ObsException
public ListVersionsResult listVersions(String bucketName, long maxKeys, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketMetadataInfoResult getBucketMetadata(BucketMetadataInfoRequest bucketMetadataInfoRequest, String accessKey, String secretKey) throws ObsException
ObsException
public BucketMetadataInfoResult getBucketMetadata(BucketMetadataInfoRequest bucketMetadataInfoRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public AccessControlList getBucketAcl(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public AccessControlList getBucketAcl(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketAcl(String bucketName, String cannedACL, AccessControlList acl, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketAcl(String bucketName, String cannedACL, AccessControlList acl, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketAcl(String bucketName, AccessControlList acl, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketAcl(String bucketName, AccessControlList acl, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketLocationResponse getBucketLocation(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketLocationResponse getBucketLocation(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketStorageInfo getBucketStorageInfo(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketStorageInfo getBucketStorageInfo(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketQuota getBucketQuota(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketQuota getBucketQuota(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketQuota(String bucketName, BucketQuota bucketQuota, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketQuota(String bucketName, BucketQuota bucketQuota, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketCors(String bucketName, BucketCors bucketCors, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketCors(String bucketName, BucketCors bucketCors, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketCors getBucketCors(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketCors getBucketCors(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketCors(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketCors(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public OptionsInfoResult optionsBucket(String bucketName, OptionsInfoRequest optionInfo, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public OptionsInfoResult optionsBucket(String bucketName, OptionsInfoRequest optionInfo, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public OptionsInfoResult optionsObject(String bucketName, String objectKey, OptionsInfoRequest optionInfo, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public OptionsInfoResult optionsObject(String bucketName, String objectKey, OptionsInfoRequest optionInfo, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public BucketLoggingConfiguration getBucketLoggingConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketLoggingConfiguration getBucketLogging(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public BucketLoggingConfiguration getBucketLoggingConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketLoggingConfiguration getBucketLogging(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketLogging(String bucketName, BucketLoggingConfiguration loggingConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketLogging(String bucketName, BucketLoggingConfiguration loggingConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, boolean updateTargetACLifRequired, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLoggingConfiguration(String bucketName, BucketLoggingConfiguration loggingConfiguration, boolean updateTargetACLifRequired, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketVersioning(String bucketName, BucketVersioningConfiguration versioningConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketVersioning(String bucketName, BucketVersioningConfiguration versioningConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketVersioningConfiguration getBucketVersioning(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketVersioningConfiguration getBucketVersioning(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public LifecycleConfiguration getBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public LifecycleConfiguration getBucketLifecycle(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public LifecycleConfiguration getBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public LifecycleConfiguration getBucketLifecycle(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLifecycleConfiguration(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketLifecycleConfiguration(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketLifecycle(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketLifecycle(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketPolicyResponse getBucketPolicy(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketPolicyResponse getBucketPolicy(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketPolicy(String bucketName, String policy, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketPolicy(String bucketName, String policy, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketPolicy(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketPolicy(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public WebsiteConfiguration getBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public WebsiteConfiguration getBucketWebsite(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public WebsiteConfiguration getBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public WebsiteConfiguration getBucketWebsite(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketWebsiteConfiguration(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketWebsiteConfiguration(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketWebsite(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketWebsite(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketTagging(String bucketName, BucketTagInfo bucketTagInfo, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketTagging(String bucketName, BucketTagInfo bucketTagInfo, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketTagInfo getBucketTagging(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketTagInfo getBucketTagging(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketTagging(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketTagging(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketReplicationConfiguration(String bucketName, ReplicationConfiguration replicationConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketReplication(String bucketName, ReplicationConfiguration replicationConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setBucketReplicationConfiguration(String bucketName, ReplicationConfiguration replicationConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketReplication(String bucketName, ReplicationConfiguration replicationConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public ReplicationConfiguration getBucketReplicationConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public ReplicationConfiguration getBucketReplication(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public ReplicationConfiguration getBucketReplicationConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ReplicationConfiguration getBucketReplication(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketReplicationConfiguration(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteBucketReplication(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse deleteBucketReplicationConfiguration(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteBucketReplication(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketNotificationConfiguration getBucketNotification(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketNotificationConfiguration getBucketNotification(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketNotification(String bucketName, BucketNotificationConfiguration bucketNotificationConfiguration, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketNotification(String bucketName, BucketNotificationConfiguration bucketNotificationConfiguration, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setBucketStoragePolicy(String bucketName, BucketStoragePolicyConfiguration bucketStorage, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setBucketStoragePolicy(String bucketName, BucketStoragePolicyConfiguration bucketStorage, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public BucketStoragePolicyConfiguration getBucketStoragePolicy(String bucketName, String accessKey, String secretKey) throws ObsException
ObsException
public BucketStoragePolicyConfiguration getBucketStoragePolicy(String bucketName, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public PutObjectResult putObject(PutObjectRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public PutObjectResult putObject(PutObjectRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ObsObject getObject(GetObjectRequest getObjectRequest, String accessKey, String secretKey) throws ObsException
ObsException
public ObsObject getObject(GetObjectRequest getObjectRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ObjectMetadata getObjectMetadata(GetObjectMetadataRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public ObjectMetadata getObjectMetadata(GetObjectMetadataRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public RestoreObjectRequest.RestoreObjectStatus restoreObject(RestoreObjectRequest restoreObjectRequest, String accessKey, String secretKey) throws ObsException
ObsException
public RestoreObjectRequest.RestoreObjectStatus restoreObject(RestoreObjectRequest restoreObjectRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteObject(String bucketName, String objectKey, String versionId, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse deleteObject(String bucketName, String objectKey, String versionId, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse deleteObject(String bucketName, String objectKey, String accessKey, String secretKey) throws ObsException
ObsException
public DeleteObjectsResult deleteObjects(DeleteObjectsRequest deleteObjectsRequest, String accessKey, String secretKey) throws ObsException
ObsException
public DeleteObjectsResult deleteObjects(DeleteObjectsRequest deleteObjectsRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public AccessControlList getObjectAcl(String bucketName, String objectKey, String versionId, String accessKey, String secretKey) throws ObsException
ObsException
public AccessControlList getObjectAcl(String bucketName, String objectKey, String versionId, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public AccessControlList getObjectAcl(String bucketName, String objectKey, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setObjectAcl(String bucketName, String objectKey, String cannedACL, AccessControlList acl, String versionId, String accessKey, String secretKey) throws ObsException
ObsException
@Deprecated public HeaderResponse setObjectAcl(String bucketName, String objectKey, String cannedACL, AccessControlList acl, String versionId, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse setObjectAcl(String bucketName, String objectKey, AccessControlList acl, String versionId, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public CopyObjectResult copyObject(CopyObjectRequest copyObjectRequest, String accessKey, String secretKey) throws ObsException
ObsException
public CopyObjectResult copyObject(CopyObjectRequest copyObjectRequest, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public InitiateMultipartUploadResult initiateMultipartUpload(InitiateMultipartUploadRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public InitiateMultipartUploadResult initiateMultipartUpload(InitiateMultipartUploadRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public HeaderResponse abortMultipartUpload(AbortMultipartUploadRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public HeaderResponse abortMultipartUpload(AbortMultipartUploadRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public UploadPartResult uploadPart(UploadPartRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public UploadPartResult uploadPart(UploadPartRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public CopyPartResult copyPart(CopyPartRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public CopyPartResult copyPart(CopyPartRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public CompleteMultipartUploadResult completeMultipartUpload(CompleteMultipartUploadRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public CompleteMultipartUploadResult completeMultipartUpload(CompleteMultipartUploadRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public ListPartsResult listParts(ListPartsRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public ListPartsResult listParts(ListPartsRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
public MultipartUploadListing listMultipartUploads(ListMultipartUploadsRequest request, String accessKey, String secretKey) throws ObsException
ObsException
public MultipartUploadListing listMultipartUploads(ListMultipartUploadsRequest request, String accessKey, String secretKey, String securityToken) throws ObsException
ObsException
Copyright © 2019. All rights reserved.