Interface ListPhoneNumbersV2Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<ListPhoneNumbersV2Request.Builder,ListPhoneNumbersV2Request>,SdkBuilder<ListPhoneNumbersV2Request.Builder,ListPhoneNumbersV2Request>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListPhoneNumbersV2Request
public static interface ListPhoneNumbersV2Request.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<ListPhoneNumbersV2Request.Builder,ListPhoneNumbersV2Request>
-
-
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
ListPhoneNumbersV2Request.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. If both
TargetArnandInstanceIdinput are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.- Parameters:
targetArn- The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. If bothTargetArnandInstanceIdinput are not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
ListPhoneNumbersV2Request.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. If both
TargetArnandInstanceIdare not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as the request.- 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. If bothTargetArnandInstanceIdare not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same AWS Region as the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListPhoneNumbersV2Request.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
ListPhoneNumbersV2Request.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.
-
phoneNumberCountryCodesWithStrings
ListPhoneNumbersV2Request.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
ListPhoneNumbersV2Request.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
ListPhoneNumbersV2Request.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
ListPhoneNumbersV2Request.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.
-
phoneNumberTypesWithStrings
ListPhoneNumbersV2Request.Builder phoneNumberTypesWithStrings(Collection<String> phoneNumberTypes)
The type of phone number.
- Parameters:
phoneNumberTypes- The type of phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypesWithStrings
ListPhoneNumbersV2Request.Builder phoneNumberTypesWithStrings(String... phoneNumberTypes)
The type of phone number.
- Parameters:
phoneNumberTypes- The type of phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypes
ListPhoneNumbersV2Request.Builder phoneNumberTypes(Collection<PhoneNumberType> phoneNumberTypes)
The type of phone number.
- Parameters:
phoneNumberTypes- The type of phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberTypes
ListPhoneNumbersV2Request.Builder phoneNumberTypes(PhoneNumberType... phoneNumberTypes)
The type of phone number.
- Parameters:
phoneNumberTypes- The type of phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberPrefix
ListPhoneNumbersV2Request.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.
-
overrideConfiguration
ListPhoneNumbersV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPhoneNumbersV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-