public Restriction build()

in openstack-poppy/src/main/java/org/jclouds/openstack/poppy/v1/domain/Restriction.java [87:99]


      public Restriction build() {
         String missing = "";
         if (name == null) {
            missing += " name";
         }
         if (!missing.isEmpty()) {
            throw new IllegalStateException("Missing required properties:" + missing);
         }
         Restriction result = new AutoValue_Restriction(
               this.name,
               rules != null ? ImmutableList.copyOf(this.rules) : null);
         return result;
      }