StructuredPojo
, ToCopyableBuilder<APNSMessage.Builder,APNSMessage>
@Generated("software.amazon.awssdk:codegen") public class APNSMessage extends Object implements StructuredPojo, ToCopyableBuilder<APNSMessage.Builder,APNSMessage>
Modifier and Type | Class | Description |
---|---|---|
static interface |
APNSMessage.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.
|
Integer |
badge() |
Include this key when you want the system to modify the badge of your app icon.
|
String |
body() |
The message body of the notification, the email body or the text message.
|
static APNSMessage.Builder |
builder() |
|
String |
category() |
Provide this key with a string value that represents the notification's type.
|
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 . |
String |
mediaUrl() |
The URL that points to a video used in the push notification.
|
String |
rawContent() |
The Raw JSON formatted string to be used as the payload.
|
static Class<? extends APNSMessage.Builder> |
serializableBuilderClass() |
|
Boolean |
silentPush() |
Indicates if the message should display on the users device.
|
String |
sound() |
Include this key when you want the system to play a sound.
|
Map<String,List<String>> |
substitutions() |
Default message substitutions.
|
String |
threadId() |
Provide this key with a string value that represents the app-specific identifier for grouping notifications.
|
String |
title() |
The message title that displays above the message on the user's device.
|
APNSMessage.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 Integer badge()
public String body()
public String category()
public Map<String,String> data()
public String mediaUrl()
public String rawContent()
public Boolean silentPush()
public String sound()
public Map<String,List<String>> substitutions()
public String threadId()
public String title()
public String url()
public APNSMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<APNSMessage.Builder,APNSMessage>
public static APNSMessage.Builder builder()
public static Class<? extends APNSMessage.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.