public static class PhoneNumberWithOptionalCountryCode.Builder extends Object
PhoneNumberWithOptionalCountryCode.| Constructor and Description |
|---|
Builder()
Initialization constructor.
|
Builder(String nationalNumber)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PhoneNumberWithOptionalCountryCode |
build()
Builds a new
PhoneNumberWithOptionalCountryCode object using the set fields. |
PhoneNumberWithOptionalCountryCode.Builder |
countryCode(String countryCode)
Setter for countryCode.
|
PhoneNumberWithOptionalCountryCode.Builder |
nationalNumber(String nationalNumber)
Setter for nationalNumber.
|
public Builder()
public Builder(String nationalNumber)
nationalNumber - String value for nationalNumber.public PhoneNumberWithOptionalCountryCode.Builder nationalNumber(String nationalNumber)
nationalNumber - String value for nationalNumber.public PhoneNumberWithOptionalCountryCode.Builder countryCode(String countryCode)
countryCode - String value for countryCode.public PhoneNumberWithOptionalCountryCode build()
PhoneNumberWithOptionalCountryCode object using the set fields.PhoneNumberWithOptionalCountryCodeCopyright © 2026. All rights reserved.