public LogConfigurationForChannel withLogTypes(String... logTypes) {
        if (this.logTypes == null) {
            setLogTypes(new java.util.ArrayList<String>(logTypes.length));
        }
        for (String ele : logTypes) {
            this.logTypes.add(ele);
        }
        return this;
    }
<p>
The log types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLogTypes(java.util.Collection)} or {@link #withLogTypes(java.util.Collection)} if you want to override
the existing values.
</p>

@param logTypes
       The log types.
@return Returns a reference to this object so that method calls can be chained together.
@see LogType
aws-java-sdk-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/LogConfigurationForChannel.java