Interface SearchAvailablePhoneNumbersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>,SdkBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SearchAvailablePhoneNumbersRequest
public static interface SearchAvailablePhoneNumbersRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,SearchAvailablePhoneNumbersRequest>
-
-
Method Summary
-
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 Detail
-
targetArn
SearchAvailablePhoneNumbersRequest.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter
InstanceIdorTargetArn.- Parameters:
targetArn- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enterInstanceIdorTargetArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
SearchAvailablePhoneNumbersRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter
InstanceIdorTargetArn.- Parameters:
instanceId- The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enterInstanceIdorTargetArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberCountryCode
SearchAvailablePhoneNumbersRequest.Builder phoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
- Parameters:
phoneNumberCountryCode- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberCountryCode,PhoneNumberCountryCode
-
phoneNumberCountryCode
SearchAvailablePhoneNumbersRequest.Builder phoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
- Parameters:
phoneNumberCountryCode- The ISO country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberCountryCode,PhoneNumberCountryCode
-
phoneNumberType
SearchAvailablePhoneNumbersRequest.Builder phoneNumberType(String phoneNumberType)
The type of phone number.
- Parameters:
phoneNumberType- The type of phone number.- 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)
The type of phone number.
- Parameters:
phoneNumberType- The type of phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PhoneNumberType,PhoneNumberType
-
phoneNumberPrefix
SearchAvailablePhoneNumbersRequest.Builder phoneNumberPrefix(String phoneNumberPrefix)
The prefix of the phone number. If provided, it must contain
+as part of the country code.- Parameters:
phoneNumberPrefix- The prefix of the phone number. If provided, it must contain+as part of the country code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
SearchAvailablePhoneNumbersRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
SearchAvailablePhoneNumbersRequest.Builder nextToken(String 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.
-
overrideConfiguration
SearchAvailablePhoneNumbersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchAvailablePhoneNumbersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-