类 AdditionalFile
- java.lang.Object
-
- com.baidubce.services.bmr.model.AdditionalFile
-
public class AdditionalFile extends Object
Represent configuration for a BMR step additional file.An additional file is a mapping of remote file and local file. Remote file represents a file which we can not access by Instance local path, like a BOS file. Local file represents a file which we can use in the arguments of a BMR step, like the arguments of streaming step.
-
-
构造器概要
构造器 构造器 说明 AdditionalFile()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetLocal()StringgetRemote()voidsetLocal(String local)voidsetRemote(String remote)AdditionalFilewithLocal(String local)Configure the local file of the additional file.AdditionalFilewithRemote(String remote)Configure the remote file of the additional file.
-
-
-
方法详细资料
-
getRemote
public String getRemote()
-
setRemote
public void setRemote(String remote)
-
getLocal
public String getLocal()
-
setLocal
public void setLocal(String local)
-
withRemote
public AdditionalFile withRemote(String remote)
Configure the remote file of the additional file.- 参数:
remote- The remote file of the additional file.- 返回:
- AdditionalFile
-
withLocal
public AdditionalFile withLocal(String local)
Configure the local file of the additional file.- 参数:
local- The local file of the additional file.- 返回:
- AdditionalFile
-
-