Class SubnetworkApi.SubnetworkPages
java.lang.Object
org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage<Subnetwork,ListOptions,SubnetworkApi.SubnetworkPages>
org.jclouds.googlecomputeengine.internal.BaseCallerArg0ToIteratorOfListPage<Subnetwork,SubnetworkApi.SubnetworkPages>
org.jclouds.googlecomputeengine.features.SubnetworkApi.SubnetworkPages
- All Implemented Interfaces:
com.google.common.base.Function<ListPage<Subnetwork>,,Iterator<ListPage<Subnetwork>>> Function<ListPage<Subnetwork>,,Iterator<ListPage<Subnetwork>>> InvocationContext<SubnetworkApi.SubnetworkPages>
- Enclosing interface:
SubnetworkApi
public static final class SubnetworkApi.SubnetworkPages
extends BaseCallerArg0ToIteratorOfListPage<Subnetwork,SubnetworkApi.SubnetworkPages>
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.Function<String, ListPage<Subnetwork>> fetchNextPage(String region, ListOptions options) This is used when you need to close over the argument that created the api.Methods inherited from class org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage
apply, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Method Details
-
fetchNextPage
protected com.google.common.base.Function<String,ListPage<Subnetwork>> fetchNextPage(String region, ListOptions options) Description copied from class:BaseCallerArg0ToIteratorOfListPageThis is used when you need to close over the argument that created the api. For example,callerArg0will become "myzone", which you can use to ensure the next page goes to the same zone:api.instancesInZone("myzone").list()- Specified by:
fetchNextPagein classBaseCallerArg0ToIteratorOfListPage<Subnetwork,ListOptions, SubnetworkApi.SubnetworkPages>
-