Class GetWhatsAppMessageStatusRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.messages.requests.GetWhatsAppMessageStatusRequest.Builder
-
- All Implemented Interfaces:
GetWhatsAppMessageStatusRequest._FinalStage,GetWhatsAppMessageStatusRequest.RulesetIdStage
- Enclosing class:
- GetWhatsAppMessageStatusRequest
public static final class GetWhatsAppMessageStatusRequest.Builder extends java.lang.Object implements GetWhatsAppMessageStatusRequest.RulesetIdStage, GetWhatsAppMessageStatusRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetWhatsAppMessageStatusRequestbuild()GetWhatsAppMessageStatusRequest.Builderfrom(GetWhatsAppMessageStatusRequest other)GetWhatsAppMessageStatusRequest._FinalStageperPage(java.lang.Integer perPage)Number of results per page (default 50, max 100)GetWhatsAppMessageStatusRequest._FinalStageperPage(java.util.Optional<java.lang.Integer> perPage)Number of results per page (default 50, max 100)GetWhatsAppMessageStatusRequest._FinalStagerulesetId(java.lang.String rulesetId)The unique identifier for the set of messages to check status forGetWhatsAppMessageStatusRequest._FinalStagestartingAfter(java.lang.String startingAfter)Cursor for pagination, used to fetch the next page of resultsGetWhatsAppMessageStatusRequest._FinalStagestartingAfter(java.util.Optional<java.lang.String> startingAfter)Cursor for pagination, used to fetch the next page of results
-
-
-
Method Detail
-
from
public GetWhatsAppMessageStatusRequest.Builder from(GetWhatsAppMessageStatusRequest other)
- Specified by:
fromin interfaceGetWhatsAppMessageStatusRequest.RulesetIdStage
-
rulesetId
public GetWhatsAppMessageStatusRequest._FinalStage rulesetId(@NotNull java.lang.String rulesetId)
The unique identifier for the set of messages to check status for
The unique identifier for the set of messages to check status for
- Specified by:
rulesetIdin interfaceGetWhatsAppMessageStatusRequest.RulesetIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startingAfter
public GetWhatsAppMessageStatusRequest._FinalStage startingAfter(java.lang.String startingAfter)
Cursor for pagination, used to fetch the next page of results
- Specified by:
startingAfterin interfaceGetWhatsAppMessageStatusRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
startingAfter
public GetWhatsAppMessageStatusRequest._FinalStage startingAfter(java.util.Optional<java.lang.String> startingAfter)
Cursor for pagination, used to fetch the next page of results
- Specified by:
startingAfterin interfaceGetWhatsAppMessageStatusRequest._FinalStage
-
perPage
public GetWhatsAppMessageStatusRequest._FinalStage perPage(java.lang.Integer perPage)
Number of results per page (default 50, max 100)
- Specified by:
perPagein interfaceGetWhatsAppMessageStatusRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
perPage
public GetWhatsAppMessageStatusRequest._FinalStage perPage(java.util.Optional<java.lang.Integer> perPage)
Number of results per page (default 50, max 100)
- Specified by:
perPagein interfaceGetWhatsAppMessageStatusRequest._FinalStage
-
build
public GetWhatsAppMessageStatusRequest build()
- Specified by:
buildin interfaceGetWhatsAppMessageStatusRequest._FinalStage
-
-