public OperationFuture < LoadBalancer > update ( LoadBalancer loadBalancer , List < LoadBalancerPoolConfig > configs ) { List < LoadBalancerPoolMetadata > poolsForGroup = find ( new LoadBalancerPoolFilter ( ) . loadBalancers ( loadBalancer ) ) ; return new OperationFuture <> ( loadBalancer , new ParallelJobsFuture ( configs . stream ( ) . map ( poolConfig -> createOrUpdate ( poolConfig , loadBalancer , poolsForGroup ) ) . map ( OperationFuture :: jobFuture ) . collect ( toList ( ) ) ) ) ; }
Update load balancer pools for group