com.obs.services.internal.IConvertor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esdk-obs-java-bundle Show documentation
Show all versions of esdk-obs-java-bundle Show documentation
The HuaweiCloud OBS Bundle SDK for Java used for accessing Object Storage Service, this SDK bundle
includes third-party libraries and relocated to different namespaces
The newest version!
/**
* Copyright 2019 Huawei Technologies Co.,Ltd.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package com.obs.services.internal;
import com.obs.services.model.AccessControlList;
import com.obs.services.model.BucketCors;
import com.obs.services.model.BucketDirectColdAccess;
import com.obs.services.model.BucketEncryption;
import com.obs.services.model.BucketLoggingConfiguration;
import com.obs.services.model.BucketNotificationConfiguration;
import com.obs.services.model.BucketQuota;
import com.obs.services.model.BucketStoragePolicyConfiguration;
import com.obs.services.model.BucketTagInfo;
import com.obs.services.model.EventTypeEnum;
import com.obs.services.model.GroupGranteeEnum;
import com.obs.services.model.KeyAndVersion;
import com.obs.services.model.LifecycleConfiguration;
import com.obs.services.model.ReplicationConfiguration;
import com.obs.services.model.RestoreObjectRequest;
import com.obs.services.model.StorageClassEnum;
import com.obs.services.model.WebsiteConfiguration;
import com.obs.services.model.fs.FSStatusEnum;
import com.obs.services.model.ObjectTagResult;
import com.obs.services.model.inventory.InventoryConfiguration;
public interface IConvertor {
String transBucketLoction(String location) throws ServiceException;
String transVersioningConfiguration(String bucketName, String status) throws ServiceException;
String transRequestPaymentConfiguration(String bucketName, String payer) throws ServiceException;
String transLifecycleConfiguration(LifecycleConfiguration config) throws ServiceException;
String transWebsiteConfiguration(WebsiteConfiguration config) throws ServiceException;
String transRestoreObjectRequest(RestoreObjectRequest req) throws ServiceException;
String transBucketQuota(BucketQuota quota) throws ServiceException;
String transBucketEcryption(BucketEncryption encryption) throws ServiceException;
String transStoragePolicy(BucketStoragePolicyConfiguration status) throws ServiceException;
String transBucketLoggingConfiguration(BucketLoggingConfiguration c) throws ServiceException;
String transBucketCors(BucketCors cors) throws ServiceException;
String transAccessControlList(AccessControlList acl, boolean isBucket) throws ServiceException;
String transKeyAndVersion(KeyAndVersion[] objectNameAndVersions, boolean isQuiet, String encodingType)
throws ServiceException;
String transBucketTagInfo(BucketTagInfo bucketTagInfo) throws ServiceException;
String transObjectTagInfo(ObjectTagResult objectTagResult) throws ServiceException;
String transBucketNotificationConfiguration(BucketNotificationConfiguration bucketNotificationConfiguration)
throws ServiceException;
String transReplicationConfiguration(ReplicationConfiguration replicationConfiguration) throws ServiceException;
String transBucketFileInterface(FSStatusEnum status) throws ServiceException;
String transStorageClass(StorageClassEnum storageClass);
String transEventType(EventTypeEnum eventType);
String transGroupGrantee(GroupGranteeEnum groupGrantee);
AccessControlList transCannedAcl(String cannedAcl);
String transBucketDirectColdAccess(BucketDirectColdAccess access) throws ServiceException;
String transBucketInventoryConfiguration(InventoryConfiguration inventoryConfiguration) throws ServiceException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy