public Action withForwardConfig(ForwardActionConfig forwardConfig) {
        setForwardConfig(forwardConfig);
        return this;
    }
<p>
Information for creating an action that distributes requests among one or more target groups. For Network Load
Balancers, you can specify a single target group. Specify only when <code>Type</code> is <code>forward</code>. If
you specify both <code>ForwardConfig</code> and <code>TargetGroupArn</code>, you can specify only one target
group using <code>ForwardConfig</code> and it must be the same target group specified in
<code>TargetGroupArn</code>.
</p>

@param forwardConfig
       Information for creating an action that distributes requests among one or more target groups. For Network
       Load Balancers, you can specify a single target group. Specify only when <code>Type</code> is
       <code>forward</code>. If you specify both <code>ForwardConfig</code> and <code>TargetGroupArn</code>, you
       can specify only one target group using <code>ForwardConfig</code> and it must be the same target group
       specified in <code>TargetGroupArn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/Action.java