hostAddresses property

List<HostAddress>? hostAddresses
getter/setter pair

List of host addresses for a MongoDB cluster.

For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.

Required.

Implementation

core.List<HostAddress>? hostAddresses;