/** * Builds a new {@link ImmutableAgent ImmutableAgent}. * @return An immutable instance of Agent * @throws java.lang.IllegalStateException if any required attributes are missing */ public ImmutableAgent build() { if (initBits != 0) { throw new IllegalStateException(formatRequiredAttributesMessage()); } return new ImmutableAgent(config, debugConfig, member); }