Interface UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder,,UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest> SdkBuilder<UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder,,UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest> SdkPojo,SdkRequest.Builder,SocialMessagingRequest.Builder
- Enclosing class:
UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest
@Mutable
@NotThreadSafe
public static interface UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder,UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncallSettings(Consumer<WhatsAppCallSettings.Builder> callSettings) The calling settings to apply to the phone number.callSettings(WhatsAppCallSettings callSettings) The calling settings to apply to the phone number.The unique identifier of the phone number to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingRequest.Builder
build
-
Method Details
-
id
The unique identifier of the phone number to update. The phone number identifiers are formatted as
phone-number-id-01234567890123456789012345678901.- Parameters:
id- The unique identifier of the phone number to update. The phone number identifiers are formatted asphone-number-id-01234567890123456789012345678901.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callSettings
UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder callSettings(WhatsAppCallSettings callSettings) The calling settings to apply to the phone number.
- Parameters:
callSettings- The calling settings to apply to the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callSettings
default UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.Builder callSettings(Consumer<WhatsAppCallSettings.Builder> callSettings) The calling settings to apply to the phone number.
This is a convenience method that creates an instance of theWhatsAppCallSettings.Builderavoiding the need to create one manually viaWhatsAppCallSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallSettings(WhatsAppCallSettings).- Parameters:
callSettings- a consumer that will call methods onWhatsAppCallSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.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
UpdateLinkedWhatsAppBusinessAccountPhoneNumberRequest.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.
-