All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huaweicloud.dis.DIS Maven / Gradle / Ivy

The newest version!
package com.huaweicloud.dis;

import com.huaweicloud.dis.core.DISCredentials;
import com.huaweicloud.dis.iface.app.IAppService;
import com.huaweicloud.dis.iface.data.IDataService;
import com.huaweicloud.dis.iface.data.request.PutRecordRequest;
import com.huaweicloud.dis.iface.data.response.PutRecordResult;
import com.huaweicloud.dis.iface.stream.IStreamService;
import com.huaweicloud.dis.iface.transfertask.ITransferTaskService;

/**
 * SDK定义的API,可以理解为对RESTAPI的高层次封装
 * 
 * 1、注册用户ak和sk
 * 2、上传数据和下载数据功能
 * 
 * 
 */
public interface DIS extends IDataService, IStreamService, IAppService, ITransferTaskService
{
    
	/**
	 * 上传单条记录到通道
	 * 
	 * @param putRecordParam
	 *            Represents the input for PutRecord.
	 * @return Result of the PutRecord operation returned by the service.
	 */
    PutRecordResult putRecord(PutRecordRequest putRecordParam);

	/**
	 * 更新认证信息
	 * @param credentials 新的认证信息
	 */
	void updateCredentials(DISCredentials credentials);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy