public void setDefaultActions(java.util.Collection<Action> defaultActions) {
        if (defaultActions == null) {
            this.defaultActions = null;
            return;
        }

        this.defaultActions = new java.util.ArrayList<Action>(defaultActions);
    }
public void setDefaultActions ( java . util . Collection < Action > defaultActions ) { if ( defaultActions == null ) { this . defaultActions = null ; return ; } this . defaultActions = new java . util . ArrayList < Action > ( defaultActions ) ; }
<p>
The actions for the default rule. The rule must include one forward action or one or more fixed-response actions.
</p>
<p>
If the action type is <code>forward</code>, you specify a target group. The protocol of the target group must be
HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP or TLS for a Network
Load Balancer.
</p>
<p>
[HTTPS listeners] If the action type is <code>authenticate-oidc</code>, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
</p>
<p>
[HTTPS listeners] If the action type is <code>authenticate-cognito</code>, you authenticate users through the
user pools supported by Amazon Cognito.
</p>
<p>
[Application Load Balancer] If the action type is <code>redirect</code>, you redirect specified client requests
from one URL to another.
</p>
<p>
[Application Load Balancer] If the action type is <code>fixed-response</code>, you drop specified client requests
and return a custom HTTP response.
</p>

@param defaultActions
The actions for the default rule. The rule must include one forward action or one or more fixed-response
actions.</p>
<p>
If the action type is <code>forward</code>, you specify a target group. The protocol of the target group
must be HTTP or HTTPS for an Application Load Balancer. The protocol of the target group must be TCP or
TLS for a Network Load Balancer.
</p>
<p>
[HTTPS listeners] If the action type is <code>authenticate-oidc</code>, you authenticate users through an
identity provider that is OpenID Connect (OIDC) compliant.
</p>
<p>
[HTTPS listeners] If the action type is <code>authenticate-cognito</code>, you authenticate users through
the user pools supported by Amazon Cognito.
</p>
<p>
[Application Load Balancer] If the action type is <code>redirect</code>, you redirect specified client
requests from one URL to another.
</p>
<p>
[Application Load Balancer] If the action type is <code>fixed-response</code>, you drop specified client
requests and return a custom HTTP response.