public ApplicationResource build() { checkState(); freeze(); return resource; } }
/** * Creates a builder. * * @return the builder */ public static ApplicationResourceBuilder newBuilder(String name, Supplier<?> supplier) { return new ApplicationResourceBuilder(name, supplier); }