Interface UpdatePhoneNumberRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>,SdkBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePhoneNumberRequest
public static interface UpdatePhoneNumberRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePhoneNumberRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.UpdatePhoneNumberRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance that phone numbers are claimed to.UpdatePhoneNumberRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePhoneNumberRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePhoneNumberRequest.BuilderphoneNumberId(String phoneNumberId)A unique identifier for the phone number.UpdatePhoneNumberRequest.BuildertargetArn(String targetArn)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
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
-
phoneNumberId
UpdatePhoneNumberRequest.Builder phoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
- Parameters:
phoneNumberId- A unique identifier for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
UpdatePhoneNumberRequest.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
UpdatePhoneNumberRequest.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.
-
clientToken
UpdatePhoneNumberRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePhoneNumberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePhoneNumberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-