public ConnectivityInfo withHostAddress(String hostAddress) {
        setHostAddress(hostAddress);
        return this;
    }
<p>
The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
</p>

@param hostAddress
       The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core
       device.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/ConnectivityInfo.java