Class LambdaAction
- java.lang.Object
-
- software.amazon.awssdk.services.iotevents.model.LambdaAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaAction.Builder,LambdaAction>
@Generated("software.amazon.awssdk:codegen") public final class LambdaAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaAction.Builder,LambdaAction>
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLambdaAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LambdaAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfunctionArn()The ARN of the Lambda function that is executed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Payloadpayload()You can configure the action payload when you send a message to a Lambda function.List<SdkField<?>>sdkFields()static Class<? extends LambdaAction.Builder>serializableBuilderClass()LambdaAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
functionArn
public final String functionArn()
The ARN of the Lambda function that is executed.
- Returns:
- The ARN of the Lambda function that is executed.
-
payload
public final Payload payload()
You can configure the action payload when you send a message to a Lambda function.
- Returns:
- You can configure the action payload when you send a message to a Lambda function.
-
toBuilder
public LambdaAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaAction.Builder,LambdaAction>
-
builder
public static LambdaAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends LambdaAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-