public static List < Target > from ( final String srvName , final Iterable < String > domains ) { final ImmutableList . Builder < Target > builder = ImmutableList . builder ( ) ; for ( final String domain : domains ) { builder . add ( new SrvTarget ( srvName , domain ) ) ; } return builder . build ( ) ; }
Create targets for a list of domains .