/** * Builds a new {@link ImmutableServer ImmutableServer}. * @return An immutable instance of Server * @throws java.lang.IllegalStateException if any required attributes are missing */ public ImmutableServer build() { if (initBits != 0) { throw new IllegalStateException(formatRequiredAttributesMessage()); } return new ImmutableServer(name, host, port, scheme); }