public RuleUpdate withAction(ChangeAction action) {
        this.action = action.toString();
        return this;
    }
<p>
Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to
remove a <code>Predicate</code> from a <code>Rule</code>.
</p>

@param action
       Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use
       <code>DELETE</code> to remove a <code>Predicate</code> from a <code>Rule</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ChangeAction
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/RuleUpdate.java