Interface RcsSuggestedAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RcsSuggestedAction.Builder,,RcsSuggestedAction> SdkBuilder<RcsSuggestedAction.Builder,,RcsSuggestedAction> SdkPojo
- Enclosing class:
RcsSuggestedAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault RcsSuggestedAction.BuildercreateCalendarEvent(Consumer<RcsCreateCalendarEventAction.Builder> createCalendarEvent) A suggested action that creates a calendar event on the user's device.createCalendarEvent(RcsCreateCalendarEventAction createCalendarEvent) A suggested action that creates a calendar event on the user's device.default RcsSuggestedAction.BuilderdialPhone(Consumer<RcsDialPhoneAction.Builder> dialPhone) A suggested action that initiates a phone call to the specified number.dialPhone(RcsDialPhoneAction dialPhone) A suggested action that initiates a phone call to the specified number.default RcsSuggestedAction.BuilderopenUrl(Consumer<RcsOpenUrlAction.Builder> openUrl) A suggested action that opens a URL in the user's browser or a webview.openUrl(RcsOpenUrlAction openUrl) A suggested action that opens a URL in the user's browser or a webview.default RcsSuggestedAction.Builderreply(Consumer<RcsReplyAction.Builder> reply) A suggested reply that sends predefined text and postback data when tapped.reply(RcsReplyAction reply) A suggested reply that sends predefined text and postback data when tapped.default RcsSuggestedAction.BuilderrequestLocation(Consumer<RcsRequestLocationAction.Builder> requestLocation) A suggested action that requests the user's current location.requestLocation(RcsRequestLocationAction requestLocation) A suggested action that requests the user's current location.default RcsSuggestedAction.BuildershowLocation(Consumer<RcsShowLocationAction.Builder> showLocation) A suggested action that shows a location on a map.showLocation(RcsShowLocationAction showLocation) A suggested action that shows a location on a map.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
-
reply
A suggested reply that sends predefined text and postback data when tapped.
- Parameters:
reply- A suggested reply that sends predefined text and postback data when tapped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reply
A suggested reply that sends predefined text and postback data when tapped.
This is a convenience method that creates an instance of theRcsReplyAction.Builderavoiding the need to create one manually viaRcsReplyAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreply(RcsReplyAction).- Parameters:
reply- a consumer that will call methods onRcsReplyAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openUrl
A suggested action that opens a URL in the user's browser or a webview.
- Parameters:
openUrl- A suggested action that opens a URL in the user's browser or a webview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openUrl
A suggested action that opens a URL in the user's browser or a webview.
This is a convenience method that creates an instance of theRcsOpenUrlAction.Builderavoiding the need to create one manually viaRcsOpenUrlAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopenUrl(RcsOpenUrlAction).- Parameters:
openUrl- a consumer that will call methods onRcsOpenUrlAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dialPhone
A suggested action that initiates a phone call to the specified number.
- Parameters:
dialPhone- A suggested action that initiates a phone call to the specified number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialPhone
A suggested action that initiates a phone call to the specified number.
This is a convenience method that creates an instance of theRcsDialPhoneAction.Builderavoiding the need to create one manually viaRcsDialPhoneAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todialPhone(RcsDialPhoneAction).- Parameters:
dialPhone- a consumer that will call methods onRcsDialPhoneAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
showLocation
A suggested action that shows a location on a map.
- Parameters:
showLocation- A suggested action that shows a location on a map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
showLocation
default RcsSuggestedAction.Builder showLocation(Consumer<RcsShowLocationAction.Builder> showLocation) A suggested action that shows a location on a map.
This is a convenience method that creates an instance of theRcsShowLocationAction.Builderavoiding the need to create one manually viaRcsShowLocationAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toshowLocation(RcsShowLocationAction).- Parameters:
showLocation- a consumer that will call methods onRcsShowLocationAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestLocation
A suggested action that requests the user's current location.
- Parameters:
requestLocation- A suggested action that requests the user's current location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestLocation
default RcsSuggestedAction.Builder requestLocation(Consumer<RcsRequestLocationAction.Builder> requestLocation) A suggested action that requests the user's current location.
This is a convenience method that creates an instance of theRcsRequestLocationAction.Builderavoiding the need to create one manually viaRcsRequestLocationAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestLocation(RcsRequestLocationAction).- Parameters:
requestLocation- a consumer that will call methods onRcsRequestLocationAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createCalendarEvent
A suggested action that creates a calendar event on the user's device.
- Parameters:
createCalendarEvent- A suggested action that creates a calendar event on the user's device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createCalendarEvent
default RcsSuggestedAction.Builder createCalendarEvent(Consumer<RcsCreateCalendarEventAction.Builder> createCalendarEvent) A suggested action that creates a calendar event on the user's device.
This is a convenience method that creates an instance of theRcsCreateCalendarEventAction.Builderavoiding the need to create one manually viaRcsCreateCalendarEventAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateCalendarEvent(RcsCreateCalendarEventAction).- Parameters:
createCalendarEvent- a consumer that will call methods onRcsCreateCalendarEventAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-