Class ApplicationsAssignNumbersRequestParameters.Builder
java.lang.Object
com.sinch.sdk.domains.voice.models.requests.ApplicationsAssignNumbersRequestParameters.Builder
- Enclosing class:
ApplicationsAssignNumbersRequestParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setApplicationKey(String applicationKey) Indicates the application where the numbers will be assigned.setCapability(CapabilityType capability) Indicates the DID capability that needs to be assigned to the chosen application.setNumbers(Collection<E164PhoneNumber> numbers) The phone number list to be updated or assigned to application
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setNumbers
public ApplicationsAssignNumbersRequestParameters.Builder setNumbers(Collection<E164PhoneNumber> numbers) The phone number list to be updated or assigned to application- Parameters:
numbers- The phone number list- Returns:
- Current builder
- Since:
- 1.0
-
setApplicationKey
Indicates the application where the numbers will be assigned.If empty, the application key that is used to authenticate
- Parameters:
applicationKey- The application where the numbers will be assigned- Returns:
- Current builder
- Since:
- 1.0
-
setCapability
Indicates the DID capability that needs to be assigned to the chosen application.Please note that the DID needs to support the selected capability.
- Parameters:
capability- The capability value- Returns:
- Current builder
- Since:
- 1.0
-
build
-