Class ReservationServiceClient.ListCapacityCommitmentsPage (2.21.0)

public static class ReservationServiceClient.ListCapacityCommitmentsPage extends AbstractPage<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment,ReservationServiceClient.ListCapacityCommitmentsPage>

Inheritance

java.lang.Object > AbstractPage > ReservationServiceClient.ListCapacityCommitmentsPage

Methods

createPage(PageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment> context, ListCapacityCommitmentsResponse response)

protected ReservationServiceClient.ListCapacityCommitmentsPage createPage(PageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment> context, ListCapacityCommitmentsResponse response)
Parameters
NameDescription
contextPageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment>
responseListCapacityCommitmentsResponse
Returns
TypeDescription
ReservationServiceClient.ListCapacityCommitmentsPage
Overrides

createPageAsync(PageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment> context, ApiFuture<ListCapacityCommitmentsResponse> futureResponse)

public ApiFuture<ReservationServiceClient.ListCapacityCommitmentsPage> createPageAsync(PageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment> context, ApiFuture<ListCapacityCommitmentsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<ListCapacityCommitmentsRequest,ListCapacityCommitmentsResponse,CapacityCommitment>
futureResponseApiFuture<ListCapacityCommitmentsResponse>
Returns
TypeDescription
ApiFuture<ListCapacityCommitmentsPage>
Overrides