public AlarmAction withIotEvents(IotEventsAction iotEvents) {
        setIotEvents(iotEvents);
        return this;
    }
@param iotEvents
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/AlarmAction.java