public static class StandardInsightRequest.Builder extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
cnam |
protected java.lang.String |
country |
protected java.lang.String |
number |
| Constructor and Description |
|---|
Builder(java.lang.String number) |
| Modifier and Type | Method and Description |
|---|---|
StandardInsightRequest |
build() |
StandardInsightRequest.Builder |
cnam(java.lang.Boolean cnam) |
StandardInsightRequest.Builder |
country(java.lang.String country) |
StandardInsightRequest.Builder |
number(java.lang.String number) |
protected java.lang.String number
protected java.lang.String country
protected java.lang.Boolean cnam
public Builder(java.lang.String number)
number - A single phone number that you need insight about in national or international format.public StandardInsightRequest.Builder number(java.lang.String number)
number - A single phone number that you need insight about in national or international format.StandardInsightRequest.Builder to keep building.public StandardInsightRequest.Builder country(java.lang.String country)
country - If a number does not have a country code or it is uncertain, set the two-character country code.StandardInsightRequest.Builder to keep building.public StandardInsightRequest.Builder cnam(java.lang.Boolean cnam)
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.StandardInsightRequest.Builder to keep building.public StandardInsightRequest build()
StandardInsightRequest object from the stored builder options.