public IoTJobAbortCriteria withAction(String action) {
        setAction(action);
        return this;
    }
<p>
The action to perform when the criteria are met.
</p>

@param action
       The action to perform when the criteria are met.
@return Returns a reference to this object so that method calls can be chained together.
@see IoTJobAbortAction
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/IoTJobAbortCriteria.java