Package com.intercom.api.types
Class StartingAfterPaging.Builder
java.lang.Object
com.intercom.api.types.StartingAfterPaging.Builder
- All Implemented Interfaces:
StartingAfterPaging._FinalStage,StartingAfterPaging.PerPageStage
- Enclosing class:
StartingAfterPaging
public static final class StartingAfterPaging.Builder
extends Object
implements StartingAfterPaging.PerPageStage, StartingAfterPaging._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()from(StartingAfterPaging other) perPage(int perPage) The number of results to fetch per page.startingAfter(String startingAfter) The cursor to use in the next request to get the next page of results.startingAfter(Optional<String> startingAfter)
-
Method Details
-
from
- Specified by:
fromin interfaceStartingAfterPaging.PerPageStage
-
perPage
The number of results to fetch per page.
- Specified by:
perPagein interfaceStartingAfterPaging.PerPageStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startingAfter
The cursor to use in the next request to get the next page of results.
- Specified by:
startingAfterin interfaceStartingAfterPaging._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startingAfter
- Specified by:
startingAfterin interfaceStartingAfterPaging._FinalStage
-
build
- Specified by:
buildin interfaceStartingAfterPaging._FinalStage
-