Class InboundsListRequestParameters.Builder
java.lang.Object
com.sinch.sdk.domains.sms.models.requests.InboundsListRequestParameters.Builder
- Enclosing class:
InboundsListRequestParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setClientReference
(String clientReference) setEndDate
(Instant endDate) setPageSize
(Integer pageSize) setStartDate
(Instant startDate) setTo
(Collection<String> to)
-
Method Details
-
setStartDate
- Parameters:
startDate
- Only list messages received at or after this date/time- Returns:
- current builder
-
setEndDate
- Parameters:
endDate
- Only list messages received before this date/time- Returns:
- current builder
-
setClientReference
- Parameters:
clientReference
- Using a client reference in inbound messages requires additional setup on your account. Contact your account manager to enable this feature. Only list inbound messages that are in response to messages with a previously provided client reference.- Returns:
- current builder
-
setPage
- Parameters:
page
- The page number starting from 0.- Returns:
- current builder
-
setPageSize
- Parameters:
pageSize
- Determines the size of a page.- Returns:
- current builder
-
setTo
- Parameters:
to
- Only list messages sent to these destinations- Returns:
- current builder
-
build
-