Class SubnetworkApi.SubnetworkPages
- java.lang.Object
-
- org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage<T,ListOptions,I>
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, setContext
-
-
-
-
Method Detail
-
fetchNextPage
protected com.google.common.base.Function<String,ListPage<Subnetwork>> fetchNextPage(String region, ListOptions options)
Description copied from class:BaseCallerArg0ToIteratorOfListPage
This is used when you need to close over the argument that created the api. For example,callerArg0
will become "myzone", which you can use to ensure the next page goes to the same zone:api.instancesInZone("myzone").list()
- Specified by:
fetchNextPage
in classBaseCallerArg0ToIteratorOfListPage<Subnetwork,ListOptions,SubnetworkApi.SubnetworkPages>
-
-