> + return this;
> + }
> +
> + public CreateStack build() {
> + String missing = "";
> +
> + if (name == null) {
> + missing += " name";
> + }
> +
> +
> + if (template == null && templateUrl == null) {
> + missing += " template and templateUrl";
> + }
> +
> + if (!missing.isEmpty()) {
In general, we should probably be moving away from client-side validation where
possible.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/188/files#r28278130