StructuredPojo
, ToCopyableBuilder<Message.Builder,Message>
@Generated("software.amazon.awssdk:codegen") public class Message extends Object implements StructuredPojo, ToCopyableBuilder<Message.Builder,Message>
Modifier and Type | Class | Description |
---|---|---|
static interface |
Message.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.
|
static Message.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
imageIconUrl() |
The URL that points to the icon image for the push notification icon, for example, the app icon.
|
String |
imageSmallIconUrl() |
The URL that points to the small icon image for the push notification icon, for example, the app icon.
|
String |
imageUrl() |
The URL that points to an image used in the push notification.
|
String |
jsonBody() |
The JSON payload used for a silent push.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
mediaUrl() |
The URL that points to the media resource, for example a .mp4 or .gif file.
|
static Class<? extends Message.Builder> |
serializableBuilderClass() |
|
Boolean |
silentPush() |
Indicates if the message should display on the users device.
|
String |
title() |
The message title that displays above the message on the user's device.
|
Message.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 String imageIconUrl()
public String imageSmallIconUrl()
public String imageUrl()
public String jsonBody()
public String mediaUrl()
public Boolean silentPush()
public String title()
public String url()
public Message.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Message.Builder,Message>
public static Message.Builder builder()
public static Class<? extends Message.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.