Interface SearchAvailablePhoneNumbersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeSdkVoiceRequest.Builder
,CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,
,SearchAvailablePhoneNumbersRequest> SdkBuilder<SearchAvailablePhoneNumbersRequest.Builder,
,SearchAvailablePhoneNumbersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchAvailablePhoneNumbersRequest
-
Method Summary
Modifier and TypeMethodDescriptionConfines a search to just the phone numbers associated with the specified area code.Confines a search to just the phone numbers associated with the specified city.Confines a search to just the phone numbers associated with the specified country.maxResults
(Integer maxResults) The maximum number of results to return.The token used to return the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.phoneNumberType
(String phoneNumberType) Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.phoneNumberType
(PhoneNumberType phoneNumberType) Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.Confines a search to just the phone numbers associated with the specified state.tollFreePrefix
(String tollFreePrefix) Confines a search to just the phone numbers associated with the specified toll-free prefix.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chimesdkvoice.model.ChimeSdkVoiceRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
areaCode
Confines a search to just the phone numbers associated with the specified area code.
- Parameters:
areaCode
- Confines a search to just the phone numbers associated with the specified area code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
Confines a search to just the phone numbers associated with the specified city.
- Parameters:
city
- Confines a search to just the phone numbers associated with the specified city.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
Confines a search to just the phone numbers associated with the specified country.
- Parameters:
country
- Confines a search to just the phone numbers associated with the specified country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Confines a search to just the phone numbers associated with the specified state.
- Parameters:
state
- Confines a search to just the phone numbers associated with the specified state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tollFreePrefix
Confines a search to just the phone numbers associated with the specified toll-free prefix.
- Parameters:
tollFreePrefix
- Confines a search to just the phone numbers associated with the specified toll-free prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberType
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
- Parameters:
phoneNumberType
- Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneNumberType
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
- Parameters:
phoneNumberType
- Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return.
- Parameters:
maxResults
- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token used to return the next page of results.
- Parameters:
nextToken
- The token used to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchAvailablePhoneNumbersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchAvailablePhoneNumbersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-