Package step.functions.io
Class Input<IN>
- java.lang.Object
-
- step.functions.io.Input<IN>
-
public class Input<IN> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringfunctionprotected longfunctionCallTimeoutprotected INpayloadprotected Map<String,String>properties
-
Constructor Summary
Constructors Constructor Description Input()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attachment>getAttachments()StringgetFunction()longgetFunctionCallTimeout()INgetPayload()Map<String,String>getProperties()voidsetAttachments(List<Attachment> attachments)voidsetFunction(String function)voidsetFunctionCallTimeout(long functionCallTimeout)voidsetPayload(IN payload)voidsetProperties(Map<String,String> properties)
-
-
-
Method Detail
-
getFunction
public String getFunction()
- Returns:
- the name of the function (keyword) to be executed
-
setFunction
public void setFunction(String function)
-
getFunctionCallTimeout
public long getFunctionCallTimeout()
- Returns:
- the call timeout of the function in ms
-
setFunctionCallTimeout
public void setFunctionCallTimeout(long functionCallTimeout)
- Parameters:
functionCallTimeout- the call timeout of the function in ms
-
getPayload
public IN getPayload()
- Returns:
- the function payload
-
setPayload
public void setPayload(IN payload)
-
getAttachments
public List<Attachment> getAttachments()
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
-