Class BaseCallerArg0ToIteratorOfListPage<T,​O extends ListOptions,​I extends BaseCallerArg0ToIteratorOfListPage<T,​O,​I>>

    • Constructor Detail

      • BaseCallerArg0ToIteratorOfListPage

        public BaseCallerArg0ToIteratorOfListPage()
    • Method Detail

      • fetchNextPage

        protected abstract com.google.common.base.Function<String,​ListPage<T>> fetchNextPage​(String callerArg0,
                                                                                                   O options)
        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()