this.api = checkNotNull(api, "api");
}
@Override
protected Function<Object, IterableWithMarker<Resource>> markerToNextForCallingArg0(final String zone) {
final ServerApi serverApi = api.getServerApiForZone(zone);
return new Function<Object, IterableWithMarker<Resource>>() {
@SuppressWarnings("unchecked")
@Override
public IterableWithMarker<Resource> apply(Object input) {
return IterableWithMarker.class.cast(serverApi.list(marker(input.toString())));
}
@Override
public String toString() {
return "list()";