public LoggingConfiguration withLogDestinationConfigs(String... logDestinationConfigs) {
        if (this.logDestinationConfigs == null) {
            setLogDestinationConfigs(new java.util.ArrayList<String>(logDestinationConfigs.length));
        }
        for (String ele : logDestinationConfigs) {
            this.logDestinationConfigs.add(ele);
        }
        return this;
    }
<p>
The logging destination configuration that you want to associate with the web ACL.
</p>
<note>
<p>
You can associate one logging destination to a web ACL.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogDestinationConfigs(java.util.Collection)} or
{@link #withLogDestinationConfigs(java.util.Collection)} if you want to override the existing values.
</p>

@param logDestinationConfigs
       The logging destination configuration that you want to associate with the web ACL.</p> <note>
       <p>
       You can associate one logging destination to a web ACL.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/LoggingConfiguration.java