Interface AvailableNumberListRequest.Builder
- Enclosing interface:
AvailableNumberListRequest
public static interface AvailableNumberListRequest.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCapabilities
(Collection<Capability> capabilities) 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
- Search criteria- Returns:
- current builder
-
setCapabilities
- Parameters:
capabilities
- capability criteria- Returns:
- current builder
-
setSize
- Parameters:
size
- Optional. The maximum number of items to return.- Returns:
- current builder
-
build
AvailableNumberListRequest build()
-