Interface LibraryTemplateButtonInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LibraryTemplateButtonInput.Builder,,LibraryTemplateButtonInput> SdkBuilder<LibraryTemplateButtonInput.Builder,,LibraryTemplateButtonInput> SdkPojo
- Enclosing class:
LibraryTemplateButtonInput
@Mutable
@NotThreadSafe
public static interface LibraryTemplateButtonInput.Builder
extends SdkPojo, CopyableBuilder<LibraryTemplateButtonInput.Builder,LibraryTemplateButtonInput>
-
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 type of button (for example, QUICK_REPLY, CALL, or URL).The URL with dynamic parameters 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
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
-
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.
-
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 with dynamic parameters for URL-type buttons.
- Parameters:
url- The URL with dynamic parameters 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
LibraryTemplateButtonInput.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.
-