public LogSetup withTypes(LogType... types) {
        java.util.ArrayList<String> typesCopy = new java.util.ArrayList<String>(types.length);
        for (LogType value : types) {
            typesCopy.add(value.toString());
        }
        if (getTypes() == null) {
            setTypes(typesCopy);
        } else {
            getTypes().addAll(typesCopy);
        }
        return this;
    }
<p>
The available cluster control plane log types.
</p>

@param types
       The available cluster control plane log types.
@return Returns a reference to this object so that method calls can be chained together.
@see LogType
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/LogSetup.java