Interface SearchAvailablePhoneNumbersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkVoiceRequest.Builder,CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>,SdkBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchAvailablePhoneNumbersRequest
public static interface SearchAvailablePhoneNumbersRequest.Builder extends ChimeSdkVoiceRequest.Builder, SdkPojo, CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchAvailablePhoneNumbersRequest.BuilderareaCode(String areaCode)Confines a search to just the phone numbers associated with the specified area code.SearchAvailablePhoneNumbersRequest.Buildercity(String city)Confines a search to just the phone numbers associated with the specified city.SearchAvailablePhoneNumbersRequest.Buildercountry(String country)Confines a search to just the phone numbers associated with the specified country.SearchAvailablePhoneNumbersRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return.SearchAvailablePhoneNumbersRequest.BuildernextToken(String nextToken)The token used to return the next page of results.SearchAvailablePhoneNumbersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchAvailablePhoneNumbersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SearchAvailablePhoneNumbersRequest.BuilderphoneNumberType(String phoneNumberType)Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.SearchAvailablePhoneNumbersRequest.BuilderphoneNumberType(PhoneNumberType phoneNumberType)Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.SearchAvailablePhoneNumbersRequest.Builderstate(String state)Confines a search to just the phone numbers associated with the specified state.SearchAvailablePhoneNumbersRequest.BuildertollFreePrefix(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, sdkFields
-
-
-
-
Method Detail
-
areaCode
SearchAvailablePhoneNumbersRequest.Builder areaCode(String 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
SearchAvailablePhoneNumbersRequest.Builder city(String 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
SearchAvailablePhoneNumbersRequest.Builder country(String 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
SearchAvailablePhoneNumbersRequest.Builder state(String 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
SearchAvailablePhoneNumbersRequest.Builder tollFreePrefix(String 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
SearchAvailablePhoneNumbersRequest.Builder phoneNumberType(String 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,PhoneNumberType
-
phoneNumberType
SearchAvailablePhoneNumbersRequest.Builder phoneNumberType(PhoneNumberType 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,PhoneNumberType
-
maxResults
SearchAvailablePhoneNumbersRequest.Builder maxResults(Integer 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
SearchAvailablePhoneNumbersRequest.Builder nextToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchAvailablePhoneNumbersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-