Class InstancesClient.ListInstancesPage (2.36.0)

public static class InstancesClient.ListInstancesPage extends AbstractPage<ListInstancesRequest,ListInstancesResponse,Instance,InstancesClient.ListInstancesPage>

Inheritance

java.lang.Object > AbstractPage > InstancesClient.ListInstancesPage

Methods

createPage(PageContext<ListInstancesRequest,ListInstancesResponse,Instance> context, ListInstancesResponse response)

protected InstancesClient.ListInstancesPage createPage(PageContext<ListInstancesRequest,ListInstancesResponse,Instance> context, ListInstancesResponse response)
Parameters
NameDescription
contextPageContext<ListInstancesRequest,ListInstancesResponse,Instance>
responseListInstancesResponse
Returns
TypeDescription
InstancesClient.ListInstancesPage
Overrides

createPageAsync(PageContext<ListInstancesRequest,ListInstancesResponse,Instance> context, ApiFuture<ListInstancesResponse> futureResponse)

public ApiFuture<InstancesClient.ListInstancesPage> createPageAsync(PageContext<ListInstancesRequest,ListInstancesResponse,Instance> context, ApiFuture<ListInstancesResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListInstancesRequest,ListInstancesResponse,Instance>
futureResponseApiFuture<ListInstancesResponse>
Returns
TypeDescription
ApiFuture<ListInstancesPage>
Overrides