@Override
protected Function<Object, IterableWithMarker<FirewallPolicy>> markerToNextForArgs(List<Object> args) {
return new Function<Object, IterableWithMarker<FirewallPolicy>>() {
@Override
public IterableWithMarker<FirewallPolicy> apply(Object input) {
PaginationOptions paginationOptions = PaginationOptions.class.cast(input);
return api.listFirewallPoliciesInfo(paginationOptions);
}
};
}