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