Interface CarrierLookupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CarrierLookupRequest.Builder,,CarrierLookupRequest> PinpointSmsVoiceV2Request.Builder,SdkBuilder<CarrierLookupRequest.Builder,,CarrierLookupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CarrierLookupRequest
@Mutable
@NotThreadSafe
public static interface CarrierLookupRequest.Builder
extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<CarrierLookupRequest.Builder,CarrierLookupRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenableCleansing(Boolean enableCleansing) Specifies whether the service cleanses the phone number that you provide.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.phoneNumber(String phoneNumber) The phone number that you want to retrieve information about.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
phoneNumber
The phone number that you want to retrieve information about. You can provide the phone number in various formats including special characters such as parentheses, brackets, spaces, hyphens, periods, and commas. The service automatically converts the input to E164 format for processing.
- Parameters:
phoneNumber- The phone number that you want to retrieve information about. You can provide the phone number in various formats including special characters such as parentheses, brackets, spaces, hyphens, periods, and commas. The service automatically converts the input to E164 format for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableCleansing
Specifies whether the service cleanses the phone number that you provide. When set to
true, the service normalizes the phone number according to the destination country's national numbering plan and dialing rules. The service returns the cleansed number in E.164 format in theE164PhoneNumberfield and returns the number that you provided in theOriginalPhoneNumberfield.- Parameters:
enableCleansing- Specifies whether the service cleanses the phone number that you provide. When set totrue, the service normalizes the phone number according to the destination country's national numbering plan and dialing rules. The service returns the cleansed number in E.164 format in theE164PhoneNumberfield and returns the number that you provided in theOriginalPhoneNumberfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CarrierLookupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CarrierLookupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-