Interface LibraryTemplateButtonList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LibraryTemplateButtonList.Builder,
,LibraryTemplateButtonList> SdkBuilder<LibraryTemplateButtonList.Builder,
,LibraryTemplateButtonList> SdkPojo
- Enclosing class:
LibraryTemplateButtonList
@Mutable
@NotThreadSafe
public static interface LibraryTemplateButtonList.Builder
extends SdkPojo, CopyableBuilder<LibraryTemplateButtonList.Builder,LibraryTemplateButtonList>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of one-time password for OTP buttons.phoneNumber
(String phoneNumber) The phone number in E.164 format for CALL-type buttons.supportedApps
(Collection<? extends Map<String, String>> supportedApps) List of supported applications for this button type.supportedApps
(Map<String, String>... supportedApps) List of supported applications for this button type.The text displayed on the button (maximum 40 characters).The type of button (for example, QUICK_REPLY, CALL, or URL).The URL for URL-type buttons.zeroTapTermsAccepted
(Boolean zeroTapTermsAccepted) When true, indicates acceptance of zero-tap terms for the button.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of button (for example, QUICK_REPLY, CALL, or URL).
- Parameters:
type
- The type of button (for example, QUICK_REPLY, CALL, or URL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The text displayed on the button (maximum 40 characters).
- Parameters:
text
- The text displayed on the button (maximum 40 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumber
The phone number in E.164 format for CALL-type buttons.
- Parameters:
phoneNumber
- The phone number in E.164 format for CALL-type buttons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The URL for URL-type buttons.
- Parameters:
url
- The URL for URL-type buttons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otpType
The type of one-time password for OTP buttons.
- Parameters:
otpType
- The type of one-time password for OTP buttons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zeroTapTermsAccepted
When true, indicates acceptance of zero-tap terms for the button.
- Parameters:
zeroTapTermsAccepted
- When true, indicates acceptance of zero-tap terms for the button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedApps
LibraryTemplateButtonList.Builder supportedApps(Collection<? extends Map<String, String>> supportedApps) List of supported applications for this button type.
- Parameters:
supportedApps
- List of supported applications for this button type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedApps
List of supported applications for this button type.
- Parameters:
supportedApps
- List of supported applications for this button type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-