Interface UpdateUserPhoneConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateUserPhoneConfigRequest.Builder,,UpdateUserPhoneConfigRequest> SdkBuilder<UpdateUserPhoneConfigRequest.Builder,,UpdateUserPhoneConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateUserPhoneConfigRequest
public static interface UpdateUserPhoneConfigRequest.Builder
extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserPhoneConfigRequest.Builder,UpdateUserPhoneConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig) Information about phone configuration settings for the user.phoneConfig(UserPhoneConfig phoneConfig) Information about phone configuration settings for the user.The identifier of the user account.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
-
phoneConfig
Information about phone configuration settings for the user.
- Parameters:
phoneConfig- Information about phone configuration settings for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneConfig
default UpdateUserPhoneConfigRequest.Builder phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig) Information about phone configuration settings for the user.
This is a convenience method that creates an instance of theUserPhoneConfig.Builderavoiding the need to create one manually viaUserPhoneConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneConfig(UserPhoneConfig).- Parameters:
phoneConfig- a consumer that will call methods onUserPhoneConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userId
The identifier of the user account.
- Parameters:
userId- The identifier of the user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
overrideConfiguration
UpdateUserPhoneConfigRequest.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
UpdateUserPhoneConfigRequest.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.
-