Interface ActiveNumberListRequest.Builder
- Enclosing interface:
ActiveNumberListRequest
public static interface ActiveNumberListRequest.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCapabilities
(Collection<Capability> capabilities) setOrderBy
(OrderBy orderBy) setPageSize
(Integer pageSize) setPageToken
(String pageToken) setRegionCode
(String regionCode) setSearchPattern
(SearchPattern searchPattern) setType
(NumberType type)
-
Method Details
-
setRegionCode
- Parameters:
regionCode
- Region code to filter by. ISO 3166-1 alpha-2 country code of the phone number. Example: US, GB or SE.- Returns:
- Current builder
-
setType
- Parameters:
type
- Number type to filter by- Returns:
- Current builder
-
setSearchPattern
- Parameters:
searchPattern
- Pattern to search for- Returns:
- Current builder
-
setCapabilities
- Parameters:
capabilities
- Number capabilities to filter by- Returns:
- Current builder
-
setPageSize
- Parameters:
pageSize
- The maximum number of items to return.- Returns:
- Current builder
-
setPageToken
- Parameters:
pageToken
- The next page token value returned from a previous List request, if any- Returns:
- Current builder
-
setOrderBy
- Parameters:
orderBy
- Ordering results- Returns:
- Current builder
-
build
ActiveNumberListRequest build()
-