code: public void setHostName(String hostName) {
          requireArgument(hostName != null && !hostName.isEmpty(), "Hostname cannot be null or empty.");
          this.hostName = hostName;
      }
docs: Sets the host name.
  
  @param  hostName  The host name. Cannot be null or empty.