Class AgentsClient.ListAgentsPage (0.53.0)

public static class AgentsClient.ListAgentsPage extends AbstractPage<ListAgentsRequest,ListAgentsResponse,Agent,AgentsClient.ListAgentsPage>

Inheritance

java.lang.Object > AbstractPage > AgentsClient.ListAgentsPage

Methods

createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)

protected AgentsClient.ListAgentsPage createPage(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ListAgentsResponse response)
Parameters
Name Description
context PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
response ListAgentsResponse
Returns
Type Description
AgentsClient.ListAgentsPage
Overrides

createPageAsync(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)

public ApiFuture<AgentsClient.ListAgentsPage> createPageAsync(PageContext<ListAgentsRequest,ListAgentsResponse,Agent> context, ApiFuture<ListAgentsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListAgentsRequest,ListAgentsResponse,Agent>
futureResponse ApiFuture<ListAgentsResponse>
Returns
Type Description
ApiFuture<ListAgentsPage>
Overrides