com.baidubce.services.bmr.model
Class AdditionalFile

java.lang.Object
  extended by 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.


Constructor Summary
AdditionalFile()
           
 
Method Summary
 String getLocal()
           
 String getRemote()
           
 void setLocal(String local)
           
 void setRemote(String remote)
           
 AdditionalFile withLocal(String local)
          Configure the local file of the additional file.
 AdditionalFile withRemote(String remote)
          Configure the remote file of the additional file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdditionalFile

public AdditionalFile()
Method Detail

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.

Parameters:
remote - The remote file of the additional file.
Returns:
AdditionalFile

withLocal

public AdditionalFile withLocal(String local)
Configure the local file of the additional file.

Parameters:
local - The local file of the additional file.
Returns:
AdditionalFile


Copyright © 2018. All rights reserved.