public UpdateAlertRequest withAction(Action action) {
        setAction(action);
        return this;
    }
<p>
Action that will be triggered when there is an alert.
</p>

@param action
       Action that will be triggered when there is an alert.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/UpdateAlertRequest.java