For the Java DSL you can define ingredients as an optional. So Optional<String> myIngredient
For the Kotlin DSL this also works. However, it would be nice if we could use nullable types instead. I tried using myIngredient: String? but that doesn't work.