public void setErrorAction(Action errorAction) {
        this.errorAction = errorAction;
    }
<p>
The action to perform when an error occurs.
</p>

@param errorAction
       The action to perform when an error occurs.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/TopicRule.java