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())
            )
        );
    }
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

@param loadBalancer load balancer pool
@param configs load balancer pool configs
@return OperationFuture wrapper for load balancer pool