Package com.vonage.client.insight
Class StandardInsightRequest.Builder
java.lang.Object
com.vonage.client.insight.StandardInsightRequest.Builder
- Enclosing class:
- StandardInsightRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
number
-
country
-
cnam
-
-
Constructor Details
-
Builder
-
Builder
protected Builder()
-
-
Method Details
-
number
- Parameters:
number
- A single phone number that you need insight about in national or international format.- Returns:
- This builder.
-
country
- Parameters:
country
- If a number does not have a country code or it is uncertain, set the two-character country code.- Returns:
- This builder.
-
cnam
- Parameters:
cnam
- Indicates if the name of the person who owns the phone number should also be looked up and returned. Set to true to receive phone number owner name in the response. This is only available for US numbers and incurs an additional charge.- Returns:
- This builder.
-
build
- Returns:
- A new
StandardInsightRequest
object from the stored builder options.
-