StructuredPojo
, ToCopyableBuilder<DefaultPushNotificationMessage.Builder,DefaultPushNotificationMessage>
@Generated("software.amazon.awssdk:codegen") public class DefaultPushNotificationMessage extends Object implements StructuredPojo, ToCopyableBuilder<DefaultPushNotificationMessage.Builder,DefaultPushNotificationMessage>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DefaultPushNotificationMessage.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
action() |
The action that occurs if the user taps a push notification delivered by the campaign: OPEN_APP - Your app
launches, or it becomes the foreground app if it has been sent to the background.
|
String |
body() |
The message body of the notification, the email body or the text message.
|
static DefaultPushNotificationMessage.Builder |
builder() |
|
Map<String,String> |
data() |
The data payload used for a silent push.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends DefaultPushNotificationMessage.Builder> |
serializableBuilderClass() |
|
Boolean |
silentPush() |
Indicates if the message should display on the users device.
|
Map<String,List<String>> |
substitutions() |
Default message substitutions.
|
String |
title() |
The message title that displays above the message on the user's device.
|
DefaultPushNotificationMessage.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
url() |
The URL to open in the user's mobile browser.
|
public String action()
Action
public String body()
public Map<String,String> data()
public Boolean silentPush()
public Map<String,List<String>> substitutions()
public String title()
public String url()
public DefaultPushNotificationMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DefaultPushNotificationMessage.Builder,DefaultPushNotificationMessage>
public static DefaultPushNotificationMessage.Builder builder()
public static Class<? extends DefaultPushNotificationMessage.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.