Interface RcsOpenUrlAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsOpenUrlAction.Builder,,RcsOpenUrlAction> SdkBuilder<RcsOpenUrlAction.Builder,,RcsOpenUrlAction> SdkPojo
- Enclosing class:
RcsOpenUrlAction
@Mutable
@NotThreadSafe
public static interface RcsOpenUrlAction.Builder
extends SdkPojo, CopyableBuilder<RcsOpenUrlAction.Builder,RcsOpenUrlAction>
-
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) How to open the URL.postbackData(String postbackData) The postback data sent to your webhook when the user taps this action.The display text of the action.The URL to open.webviewViewMode(String webviewViewMode) The display mode of the webview.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
-
text
The display text of the action. Maximum 25 characters.
- Parameters:
text- The display text of the action. Maximum 25 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postbackData
The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.
- Parameters:
postbackData- The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The URL to open. Must start with https://. Maximum 2048 characters.
- Parameters:
url- The URL to open. Must start with https://. Maximum 2048 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
application
How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.
- Parameters:
application- How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webviewViewMode
The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.
- Parameters:
webviewViewMode- The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-