Interface ImportPhoneNumberRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<ImportPhoneNumberRequest.Builder,ImportPhoneNumberRequest>,SdkBuilder<ImportPhoneNumberRequest.Builder,ImportPhoneNumberRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportPhoneNumberRequest
public static interface ImportPhoneNumberRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<ImportPhoneNumberRequest.Builder,ImportPhoneNumberRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportPhoneNumberRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.ImportPhoneNumberRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.ImportPhoneNumberRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportPhoneNumberRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportPhoneNumberRequest.BuilderphoneNumberDescription(String phoneNumberDescription)The description of the phone number.ImportPhoneNumberRequest.BuildersourcePhoneNumberArn(String sourcePhoneNumberArn)The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint.ImportPhoneNumberRequest.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
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
-
instanceId
ImportPhoneNumberRequest.Builder instanceId(String 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.
-
sourcePhoneNumberArn
ImportPhoneNumberRequest.Builder sourcePhoneNumberArn(String sourcePhoneNumberArn)
The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.
- Parameters:
sourcePhoneNumberArn- The claimed phone number ARN being imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number to import from Amazon Pinpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberDescription
ImportPhoneNumberRequest.Builder phoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
- Parameters:
phoneNumberDescription- The description of the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportPhoneNumberRequest.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
ImportPhoneNumberRequest.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
ImportPhoneNumberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportPhoneNumberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-