Interface RcsShowLocationAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsShowLocationAction.Builder,,RcsShowLocationAction> SdkBuilder<RcsShowLocationAction.Builder,,RcsShowLocationAction> SdkPojo
- Enclosing class:
RcsShowLocationAction
@Mutable
@NotThreadSafe
public static interface RcsShowLocationAction.Builder
extends SdkPojo, CopyableBuilder<RcsShowLocationAction.Builder,RcsShowLocationAction>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional label for the location pin.The latitude of the location.The longitude of the location.postbackData(String postbackData) The postback data sent to your webhook when the user taps this action.The display text of 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
-
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.
-
latitude
The latitude of the location. Valid values are -90 to 90.
- Parameters:
latitude- The latitude of the location. Valid values are -90 to 90.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
longitude
The longitude of the location. Valid values are -180 to 180.
- Parameters:
longitude- The longitude of the location. Valid values are -180 to 180.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
An optional label for the location pin. Maximum 100 characters.
- Parameters:
label- An optional label for the location pin. Maximum 100 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-