}
@Override
protected Function<Object, IterableWithMarker<SubnetGroup>> markerToNextForArg0(Optional<Object> arg0) {
final String region = arg0.isPresent() ? arg0.get().toString() : null;
final SubnetGroupApi subnetGroupApi = api.getSubnetGroupApiForRegion(region);
return new Function<Object, IterableWithMarker<SubnetGroup>>() {
@Override
public IterableWithMarker<SubnetGroup> apply(Object input) {
return subnetGroupApi.list(ListSubnetGroupsOptions.Builder.afterMarker(input));
}
@Override
public String toString() {
return "listSubnetGroupsInRegion(" + region + ")";