public FirewallPolicyDetails withStatelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions) {
        if (this.statelessCustomActions == null) {
            setStatelessCustomActions(new java.util.ArrayList<FirewallPolicyStatelessCustomActionsDetails>(statelessCustomActions.length));
        }
        for (FirewallPolicyStatelessCustomActionsDetails ele : statelessCustomActions) {
            this.statelessCustomActions.add(ele);
        }
        return this;
    }
<p>
The custom action definitions that are available to use in the firewall policy's
<code>StatelessDefaultActions</code> setting.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStatelessCustomActions(java.util.Collection)} or
{@link #withStatelessCustomActions(java.util.Collection)} if you want to override the existing values.
</p>

@param statelessCustomActions
       The custom action definitions that are available to use in the firewall policy's
       <code>StatelessDefaultActions</code> setting.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/FirewallPolicyDetails.java