Interface ActiveNumber.Builder
- Enclosing interface:
ActiveNumber
public static interface ActiveNumber.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetCallbackUrl
(String callbackUrl) see gettersetCapability
(List<Capability> capability) see gettersetDisplayName
(String displayName) see gettersetExpireAt
(Instant expireAt) see gettersee gettersetNextChargeDate
(Instant nextChargeDate) see gettersetPaymentIntervalMonths
(Integer paymentIntervalMonths) see gettersetPhoneNumber
(String phoneNumber) see gettersetProjectId
(String projectId) see gettersetRegionCode
(String regionCode) see gettersetSmsConfiguration
(SmsConfiguration smsConfiguration) see gettersetType
(NumberType type) see gettersetVoiceConfiguration
(VoiceConfiguration voiceConfiguration) see getter
-
Method Details
-
setPhoneNumber
see getter- Parameters:
phoneNumber
- see getter- Returns:
- Current builder
- See Also:
-
setProjectId
see getter- Parameters:
projectId
- see getter- Returns:
- Current builder
- See Also:
-
setDisplayName
see getter- Parameters:
displayName
- see getter- Returns:
- Current builder
- See Also:
-
setRegionCode
see getter- Parameters:
regionCode
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setType
see getter- Parameters:
type
- see getter- Returns:
- Current builder
- See Also:
-
setCapability
see getter- Parameters:
capability
- see getter- Returns:
- Current builder
- See Also:
-
setMoney
see getter- Parameters:
money
- see getter- Returns:
- Current builder
- See Also:
-
setPaymentIntervalMonths
see getter- Parameters:
paymentIntervalMonths
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setNextChargeDate
see getter- Parameters:
nextChargeDate
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setExpireAt
see getter- Parameters:
expireAt
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setSmsConfiguration
see getter- Parameters:
smsConfiguration
- see getter- Returns:
- Current builder
- See Also:
-
setVoiceConfiguration
see getter- Parameters:
voiceConfiguration
- see getter- Returns:
- Current builder
- See Also:
-
setCallbackUrl
see getter- Parameters:
callbackUrl
- see getter- Returns:
- Current builder
- See Also:
-
build
ActiveNumber build()Create instance- Returns:
- The instance build with current builder values
-