Class BatchesListRequestParameters.Builder
java.lang.Object
com.sinch.sdk.domains.sms.models.requests.BatchesListRequestParameters.Builder
- Enclosing class:
BatchesListRequestParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setClientReference
(String clientReference) setEndDate
(Instant endDate) setPageSize
(Integer pageSize) setStartDate
(Instant startDate)
-
Method Details
-
setFrom
- Parameters:
from
- Only list messages sent from this sender number. Multiple originating numbers can be comma separated. Must be phone numbers or short code.- Returns:
- current builder
-
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
- Client reference to include- 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
-
build
-