public CreateService build()

in openstack-poppy/src/main/java/org/jclouds/openstack/poppy/v1/domain/CreateService.java [188:217]


      public CreateService build() {
         String missing = "";
         if (name == null) {
            missing += " name";
         }
         if (domains == null) {
            missing += " domains";
         }
         if (origins == null) {
            missing += " origins";
         }
         if (flavorId == null) {
            missing += " flavorId";
         }
         if (logDelivery == null) {
            missing += " logDelivery";
         }
         if (!missing.isEmpty()) {
            throw new IllegalStateException("Missing required properties:" + missing);
         }
         CreateService result = new AutoValue_CreateService(
               this.name,
               this.domains,
               this.origins,
               this.caching == null ? null : ImmutableList.copyOf(this.caching),
               this.restrictions == null ? null : ImmutableList.copyOf(this.restrictions),
                     this.flavorId,
                     this.logDelivery);
         return result;
      }