Interface WhatsAppCallPermissionAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WhatsAppCallPermissionAction.Builder,,WhatsAppCallPermissionAction> SdkBuilder<WhatsAppCallPermissionAction.Builder,,WhatsAppCallPermissionAction> SdkPojo
- Enclosing class:
WhatsAppCallPermissionAction
@Mutable
@NotThreadSafe
public static interface WhatsAppCallPermissionAction.Builder
extends SdkPojo, CopyableBuilder<WhatsAppCallPermissionAction.Builder,WhatsAppCallPermissionAction>
-
Method Summary
Modifier and TypeMethodDescriptionactionName(String actionName) The name of the calling action.canPerformAction(Boolean canPerformAction) Specifies whether the business can currently perform the action.limits(Collection<WhatsAppCallPermissionLimit> limits) The time-bound limits that apply to the action.limits(Consumer<WhatsAppCallPermissionLimit.Builder>... limits) The time-bound limits that apply to the action.limits(WhatsAppCallPermissionLimit... limits) The time-bound limits that apply to the action.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
-
actionName
The name of the calling action.
- Parameters:
actionName- The name of the calling action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canPerformAction
Specifies whether the business can currently perform the action.
- Parameters:
canPerformAction- Specifies whether the business can currently perform the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The time-bound limits that apply to the action.
- Parameters:
limits- The time-bound limits that apply to the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
The time-bound limits that apply to the action.
- Parameters:
limits- The time-bound limits that apply to the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limits
WhatsAppCallPermissionAction.Builder limits(Consumer<WhatsAppCallPermissionLimit.Builder>... limits) The time-bound limits that apply to the action.
This is a convenience method that creates an instance of theWhatsAppCallPermissionLimit.Builderavoiding the need to create one manually viaWhatsAppCallPermissionLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimits(List<WhatsAppCallPermissionLimit>).- Parameters:
limits- a consumer that will call methods onWhatsAppCallPermissionLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-