/** * Builds a new {@link ImmutableConfig ImmutableConfig}. * @return An immutable instance of Config * @throws java.lang.IllegalStateException if any required attributes are missing */ public ImmutableConfig build() { if (initBits != 0) { throw new IllegalStateException(formatRequiredAttributesMessage()); } return new ImmutableConfig(datacenter, nodeName, revision, server, version); }