Interface SearchAvailablePhoneNumbersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<SearchAvailablePhoneNumbersRequest.Builder,,SearchAvailablePhoneNumbersRequest> SdkBuilder<SearchAvailablePhoneNumbersRequest.Builder,,SearchAvailablePhoneNumbersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchAvailablePhoneNumbersRequest
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of the Amazon Connect instance that phone numbers are claimed to.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.phoneNumberCountryCode(String phoneNumberCountryCode) The ISO country code.phoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode) The ISO country code.phoneNumberPrefix(String phoneNumberPrefix) The prefix of the phone number.phoneNumberType(String phoneNumberType) The type of phone number.phoneNumberType(PhoneNumberType phoneNumberType) The type of phone number.The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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:
-
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
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:
-
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-