public Builder setBindAddress(final String addressString) {
      if (isBlank(addressString)) {
        bindAddress = null;
        return this;
      } else {
        try {
          InetAddress address = InetAddress.getByName(addressString);
          if (LocalHostUtil.isLocalHost(address)) {
            bindAddress = new HostAddress(addressString);
            return this;
          } else {
            throw new IllegalArgumentException(
                addressString + " is not an address for this machine.");
          }
        } catch (UnknownHostException e) {
          throw new IllegalArgumentException("The hostname/IP address (" + addressString
              + ") to which the Locator will be bound is unknown.",
              e);
        }
      }
    }
Sets the IP address as an java.net.InetAddress to which the Locator has bound itself
listening for client requests.

@param addressString the InetAddress with the IP address or hostname on which the Locator is
       bound and listening.
@return this Builder instance.
@throws IllegalArgumentException wrapping the UnknownHostException if the IP address or
        hostname for the bind address is unknown.
@see #getBindAddress()
@see java.net.InetAddress
geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java