@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaAction extends Object implements Serializable, Cloneable, StructuredPojo
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
Constructor and Description |
---|
LambdaAction() |
Modifier and Type | Method and Description |
---|---|
LambdaAction |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionArn()
The ARN of the Lambda function that is executed.
|
Payload |
getPayload()
You can configure the action payload when you send a message to a Lambda function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFunctionArn(String functionArn)
The ARN of the Lambda function that is executed.
|
void |
setPayload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
|
String |
toString()
Returns a string representation of this object.
|
LambdaAction |
withFunctionArn(String functionArn)
The ARN of the Lambda function that is executed.
|
LambdaAction |
withPayload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
|
public void setFunctionArn(String functionArn)
The ARN of the Lambda function that is executed.
functionArn
- The ARN of the Lambda function that is executed.public String getFunctionArn()
The ARN of the Lambda function that is executed.
public LambdaAction withFunctionArn(String functionArn)
The ARN of the Lambda function that is executed.
functionArn
- The ARN of the Lambda function that is executed.public void setPayload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
payload
- You can configure the action payload when you send a message to a Lambda function.public Payload getPayload()
You can configure the action payload when you send a message to a Lambda function.
public LambdaAction withPayload(Payload payload)
You can configure the action payload when you send a message to a Lambda function.
payload
- You can configure the action payload when you send a message to a Lambda function.public String toString()
toString
in class Object
Object.toString()
public LambdaAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.