}
@Override
protected Function<Object, IterableWithMarker<LoadBalancer>> markerToNextForArg0(Optional<Object> arg0) {
final String region = arg0.isPresent() ? arg0.get().toString() : null;
final LoadBalancerApi loadBalancerApi = api.getLoadBalancerApiForRegion(region);
return new Function<Object, IterableWithMarker<LoadBalancer>>() {
@Override
public IterableWithMarker<LoadBalancer> apply(Object input) {
return loadBalancerApi.list(ListLoadBalancersOptions.Builder.afterMarker(input));
}
@Override
public String toString() {
return "listLoadBalancersInRegion(" + region + ")";