Interface CarrierLookupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CarrierLookupResponse.Builder,,CarrierLookupResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CarrierLookupResponse.Builder,,CarrierLookupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CarrierLookupResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe carrier or service provider that the phone number is currently registered with.The name of the country or region for the phone number.dialingCountryCode(String dialingCountryCode) The country or region numeric dialing code for the phone number.e164PhoneNumber(String e164PhoneNumber) The phone number in E164 format, sanitized from the original input by removing any formatting characters.isoCountryCode(String isoCountryCode) The two-character country or region code, in ISO 3166-1 alpha-2 format, for the phone number.The phone number's mobile country code, for mobile phone number typesThe phone number's mobile network code, for mobile phone number types.phoneNumberType(String phoneNumberType) Describes the type of phone number.phoneNumberType(PhoneNumberType phoneNumberType) Describes the type of phone number.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
e164PhoneNumber
The phone number in E164 format, sanitized from the original input by removing any formatting characters.
- Parameters:
e164PhoneNumber- The phone number in E164 format, sanitized from the original input by removing any formatting characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialingCountryCode
The country or region numeric dialing code for the phone number.
- Parameters:
dialingCountryCode- The country or region numeric dialing code for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isoCountryCode
The two-character country or region code, in ISO 3166-1 alpha-2 format, for the phone number.
- Parameters:
isoCountryCode- The two-character country or region code, in ISO 3166-1 alpha-2 format, for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The name of the country or region for the phone number.
- Parameters:
country- The name of the country or region for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcc
The phone number's mobile country code, for mobile phone number types
- Parameters:
mcc- The phone number's mobile country code, for mobile phone number types- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mnc
The phone number's mobile network code, for mobile phone number types.
- Parameters:
mnc- The phone number's mobile network code, for mobile phone number types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
carrier
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
- Parameters:
carrier- The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberType
Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.
- Parameters:
phoneNumberType- Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneNumberType
Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.
- Parameters:
phoneNumberType- Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-