public EnableLoggingRequest withLogExports(String... logExports) {
        if (this.logExports == null) {
            setLogExports(new com.amazonaws.internal.SdkInternalList<String>(logExports.length));
        }
        for (String ele : logExports) {
            this.logExports.add(ele);
        }
        return this;
    }
<p>
The collection of exported log types. Possible values are <code>connectionlog</code>,
<code>useractivitylog</code>, and <code>userlog</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogExports(java.util.Collection)} or {@link #withLogExports(java.util.Collection)} if you want to
override the existing values.
</p>

@param logExports
       The collection of exported log types. Possible values are <code>connectionlog</code>,
       <code>useractivitylog</code>, and <code>userlog</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/EnableLoggingRequest.java