@Generated(value="software.amazon.awssdk:codegen") public final class SearchAvailablePhoneNumbersRequest extends ChimeSdkVoiceRequest implements ToCopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchAvailablePhoneNumbersRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
areaCode()
Confines a search to just the phone numbers associated with the specified area code.
|
static SearchAvailablePhoneNumbersRequest.Builder |
builder() |
String |
city()
Confines a search to just the phone numbers associated with the specified city.
|
String |
country()
Confines a search to just the phone numbers associated with the specified country.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return.
|
String |
nextToken()
The token used to return the next page of results.
|
PhoneNumberType |
phoneNumberType()
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
String |
phoneNumberTypeAsString()
Confines a search to just the phone numbers associated with the specified phone number type, either local
or toll-free.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SearchAvailablePhoneNumbersRequest.Builder> |
serializableBuilderClass() |
String |
state()
Confines a search to just the phone numbers associated with the specified state.
|
SearchAvailablePhoneNumbersRequest.Builder |
toBuilder() |
String |
tollFreePrefix()
Confines a search to just the phone numbers associated with the specified toll-free prefix.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String areaCode()
Confines a search to just the phone numbers associated with the specified area code.
public final String city()
Confines a search to just the phone numbers associated with the specified city.
public final String country()
Confines a search to just the phone numbers associated with the specified country.
public final String state()
Confines a search to just the phone numbers associated with the specified state.
public final String tollFreePrefix()
Confines a search to just the phone numbers associated with the specified toll-free prefix.
public final PhoneNumberType phoneNumberType()
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
If the service returns an enum value that is not available in the current SDK version, phoneNumberType
will return PhoneNumberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phoneNumberTypeAsString().
PhoneNumberTypepublic final String phoneNumberTypeAsString()
Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
If the service returns an enum value that is not available in the current SDK version, phoneNumberType
will return PhoneNumberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phoneNumberTypeAsString().
PhoneNumberTypepublic final Integer maxResults()
The maximum number of results to return.
public final String nextToken()
The token used to return the next page of results.
public SearchAvailablePhoneNumbersRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>toBuilder in class ChimeSdkVoiceRequestpublic static SearchAvailablePhoneNumbersRequest.Builder builder()
public static Class<? extends SearchAvailablePhoneNumbersRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.