public void setAction(NotificationTargetActions action) {
        this.action = action;
    }
<p>
Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the <a
href="https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html">AWS Lambda function
provided by AWS IoT Events</a>.
</p>

@param action
       Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the <a
       href="https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html">AWS Lambda function
       provided by AWS IoT Events</a>.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/NotificationAction.java