Interface WhatsAppCallSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WhatsAppCallSettings.Builder,,WhatsAppCallSettings> SdkBuilder<WhatsAppCallSettings.Builder,,WhatsAppCallSettings> SdkPojo
- Enclosing class:
WhatsAppCallSettings
@Mutable
@NotThreadSafe
public static interface WhatsAppCallSettings.Builder
extends SdkPojo, CopyableBuilder<WhatsAppCallSettings.Builder,WhatsAppCallSettings>
-
Method Summary
Modifier and TypeMethodDescriptioncallbackPermissionStatus(String callbackPermissionStatus) The callback permission status for the phone number.callEnabled(Boolean callEnabled) Specifies whether calling is enabled for the phone number.default WhatsAppCallSettings.BuildercallHours(Consumer<WhatsAppCallHours.Builder> callHours) The hours during which the business accepts calls on the phone number.callHours(WhatsAppCallHours callHours) The hours during which the business accepts calls on the phone number.callIconVisibility(String callIconVisibility) The visibility setting for the call icon shown to end users in WhatsApp.Methods 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, sdkFields
-
Method Details
-
callEnabled
Specifies whether calling is enabled for the phone number.
- Parameters:
callEnabled- Specifies whether calling is enabled for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callHours
The hours during which the business accepts calls on the phone number.
- Parameters:
callHours- The hours during which the business accepts calls on the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callHours
The hours during which the business accepts calls on the phone number.
This is a convenience method that creates an instance of theWhatsAppCallHours.Builderavoiding the need to create one manually viaWhatsAppCallHours.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallHours(WhatsAppCallHours).- Parameters:
callHours- a consumer that will call methods onWhatsAppCallHours.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
callIconVisibility
The visibility setting for the call icon shown to end users in WhatsApp.
- Parameters:
callIconVisibility- The visibility setting for the call icon shown to end users in WhatsApp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callbackPermissionStatus
The callback permission status for the phone number.
- Parameters:
callbackPermissionStatus- The callback permission status for the phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-