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 String
function
protected long
functionCallTimeout
protected IN
payload
protected 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()
String
getFunction()
long
getFunctionCallTimeout()
IN
getPayload()
Map<String,String>
getProperties()
void
setAttachments(List<Attachment> attachments)
void
setFunction(String function)
void
setFunctionCallTimeout(long functionCallTimeout)
void
setPayload(IN payload)
void
setProperties(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)
-
-