+
+ /**
+ * Issue a warning when a {@code list} statement without a {@code key} statement is found in the
+ * {@code config true} part of the schema tree. Such statements run contrary to
+ * <a href="https://www.rfc-editor.org/rfc/rfc7950.html#section-7.8.2">RFC7950</a>, but are readily supported
+ * by OpenDaylight infrastructure.
+ *
+ * <p>
+ * This option is enabled by default.
+ *
+ * @param newWarnForUnkeyedLists {@code true} if non-compliant {@code list} statements should be reported
+ * @return This builder
+ */
+ public Builder warnForUnkeyedLists(final boolean newWarnForUnkeyedLists) {
+ warnForUnkeyedLists = newWarnForUnkeyedLists;
+ return this;
+ }