Interface ListPhoneNumbersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<ListPhoneNumbersRequest.Builder,
,ListPhoneNumbersRequest> SdkBuilder<ListPhoneNumbersRequest.Builder,
,ListPhoneNumbersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListPhoneNumbersRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) The identifier of the Amazon Connect instance.maxResults
(Integer maxResults) The maximum number of results to return per page.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.phoneNumberCountryCodes
(Collection<PhoneNumberCountryCode> phoneNumberCountryCodes) The ISO country code.phoneNumberCountryCodes
(PhoneNumberCountryCode... phoneNumberCountryCodes) The ISO country code.phoneNumberCountryCodesWithStrings
(String... phoneNumberCountryCodes) The ISO country code.phoneNumberCountryCodesWithStrings
(Collection<String> phoneNumberCountryCodes) The ISO country code.phoneNumberTypes
(Collection<PhoneNumberType> phoneNumberTypes) The type of phone number.phoneNumberTypes
(PhoneNumberType... phoneNumberTypes) The type of phone number.phoneNumberTypesWithStrings
(String... phoneNumberTypes) The type of phone number.phoneNumberTypesWithStrings
(Collection<String> phoneNumberTypes) The type of phone number.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.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 Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypesWithStrings
The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Parameters:
phoneNumberTypes
- The type of phone number.We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypesWithStrings
The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Parameters:
phoneNumberTypes
- The type of phone number.We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypes
The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Parameters:
phoneNumberTypes
- The type of phone number.We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypes
The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Parameters:
phoneNumberTypes
- The type of phone number.We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types
UIFN
,SHARED
,THIRD_PARTY_TF
, andTHIRD_PARTY_DID
, it incorrectly lists them asTOLL_FREE
orDID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberCountryCodesWithStrings
ListPhoneNumbersRequest.Builder phoneNumberCountryCodesWithStrings(Collection<String> phoneNumberCountryCodes) The ISO country code.
- Parameters:
phoneNumberCountryCodes
- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberCountryCodesWithStrings
ListPhoneNumbersRequest.Builder phoneNumberCountryCodesWithStrings(String... phoneNumberCountryCodes) The ISO country code.
- Parameters:
phoneNumberCountryCodes
- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberCountryCodes
ListPhoneNumbersRequest.Builder phoneNumberCountryCodes(Collection<PhoneNumberCountryCode> phoneNumberCountryCodes) The ISO country code.
- Parameters:
phoneNumberCountryCodes
- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberCountryCodes
ListPhoneNumbersRequest.Builder phoneNumberCountryCodes(PhoneNumberCountryCode... phoneNumberCountryCodes) The ISO country code.
- Parameters:
phoneNumberCountryCodes
- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page. The default MaxResult size is 100.
- Parameters:
maxResults
- The maximum number of results to return per page. The default MaxResult size is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPhoneNumbersRequest.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
ListPhoneNumbersRequest.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.
-