Interface GetWhatsAppCallPermissionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWhatsAppCallPermissionResponse.Builder,,GetWhatsAppCallPermissionResponse> SdkBuilder<GetWhatsAppCallPermissionResponse.Builder,,GetWhatsAppCallPermissionResponse> SdkPojo,SdkResponse.Builder,SocialMessagingResponse.Builder
- Enclosing class:
GetWhatsAppCallPermissionResponse
@Mutable
@NotThreadSafe
public static interface GetWhatsAppCallPermissionResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<GetWhatsAppCallPermissionResponse.Builder,GetWhatsAppCallPermissionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<WhatsAppCallPermissionAction> actions) The calling actions the business can take with the end user, and any limits that apply to each action.actions(Consumer<WhatsAppCallPermissionAction.Builder>... actions) The calling actions the business can take with the end user, and any limits that apply to each action.actions(WhatsAppCallPermissionAction... actions) The calling actions the business can take with the end user, and any limits that apply to each action.permission(Consumer<WhatsAppCallPermission.Builder> permission) The current calling permission state for the end user.permission(WhatsAppCallPermission permission) The current calling permission state for the end user.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
permission
The current calling permission state for the end user.
- Parameters:
permission- The current calling permission state for the end user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permission
default GetWhatsAppCallPermissionResponse.Builder permission(Consumer<WhatsAppCallPermission.Builder> permission) The current calling permission state for the end user.
This is a convenience method that creates an instance of theWhatsAppCallPermission.Builderavoiding the need to create one manually viaWhatsAppCallPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermission(WhatsAppCallPermission).- Parameters:
permission- a consumer that will call methods onWhatsAppCallPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The calling actions the business can take with the end user, and any limits that apply to each action.
- Parameters:
actions- The calling actions the business can take with the end user, and any limits that apply to each action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The calling actions the business can take with the end user, and any limits that apply to each action.
- Parameters:
actions- The calling actions the business can take with the end user, and any limits that apply to each action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
GetWhatsAppCallPermissionResponse.Builder actions(Consumer<WhatsAppCallPermissionAction.Builder>... actions) The calling actions the business can take with the end user, and any limits that apply to each action.
This is a convenience method that creates an instance of theWhatsAppCallPermissionAction.Builderavoiding the need to create one manually viaWhatsAppCallPermissionAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<WhatsAppCallPermissionAction>).- Parameters:
actions- a consumer that will call methods onWhatsAppCallPermissionAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-