public void setForward(ForwardAction forward) {
        this.forward = forward;
    }
<p>
The forward action. Traffic that matches the rule is forwarded to the specified target groups.
</p>

@param forward
       The forward action. Traffic that matches the rule is forwarded to the specified target groups.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/RuleAction.java