public Caching build()

in openstack-poppy/src/main/java/org/jclouds/openstack/poppy/v1/domain/Caching.java [106:122]


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