public void setAction(RuleAction action) {
        this.action = action;
    }
<p>
The rule action.
</p>

@param action
       The rule action.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/RuleUpdate.java