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 java.lang.Object implements StartingAfterPaging.PerPageStage, StartingAfterPaging._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartingAfterPagingbuild()StartingAfterPaging.Builderfrom(StartingAfterPaging other)StartingAfterPaging._FinalStageperPage(int perPage)The number of results to fetch per page.StartingAfterPaging._FinalStagestartingAfter(java.lang.String startingAfter)The cursor to use in the next request to get the next page of results.StartingAfterPaging._FinalStagestartingAfter(java.util.Optional<java.lang.String> startingAfter)The cursor to use in the next request to get the next page of results.
-
-
-
Method Detail
-
from
public StartingAfterPaging.Builder from(StartingAfterPaging other)
- Specified by:
fromin interfaceStartingAfterPaging.PerPageStage
-
perPage
public StartingAfterPaging._FinalStage perPage(int perPage)
The number of results to fetch per page.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
public StartingAfterPaging._FinalStage startingAfter(java.lang.String 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
public StartingAfterPaging._FinalStage startingAfter(java.util.Optional<java.lang.String> startingAfter)
The cursor to use in the next request to get the next page of results.
- Specified by:
startingAfterin interfaceStartingAfterPaging._FinalStage
-
build
public StartingAfterPaging build()
- Specified by:
buildin interfaceStartingAfterPaging._FinalStage
-
-