public RuleUpdateSuccess withAction(RuleAction action) {
        setAction(action);
        return this;
    }
<p>
The action for the rule.
</p>

@param action
       The action for the rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/RuleUpdateSuccess.java