@Generated(value="software.amazon.awssdk:codegen") public final class ADMMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ADMMessage.Builder,ADMMessage>
Modifier and Type | Class and Description |
---|---|
static interface |
ADMMessage.Builder |
Modifier and Type | Method and Description |
---|---|
Action |
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 |
actionAsString()
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.
|
static ADMMessage.Builder |
builder() |
String |
consolidationKey()
Optional.
|
Map<String,String> |
data()
The data payload used for a silent push.
|
boolean |
equals(Object obj) |
String |
expiresAfter()
Optional.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iconReference()
The icon image name of the asset saved in your application.
|
String |
imageIconUrl()
The URL that points to an image used as the large icon to the notification content view.
|
String |
imageUrl()
The URL that points to an image used in the push notification.
|
String |
md5()
Optional.
|
String |
rawContent()
The Raw JSON formatted string to be used as the payload.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ADMMessage.Builder> |
serializableBuilderClass() |
Boolean |
silentPush()
Indicates if the message should display on the users device.
|
String |
smallImageIconUrl()
The URL that points to an image used as the small icon for the notification which will be used to represent the
notification in the status bar and content view
|
String |
sound()
Indicates a sound to play when the device receives the notification.
|
Map<String,List<String>> |
substitutions()
Default message substitutions.
|
String |
title()
The message title that displays above the message on the user's device.
|
ADMMessage.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.
|
copy
public Action action()
If the service returns an enum value that is not available in the current SDK version, action
will
return Action.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
Action
public String actionAsString()
If the service returns an enum value that is not available in the current SDK version, action
will
return Action.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
Action
public String body()
public String consolidationKey()
public Map<String,String> data()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String expiresAfter()
public String iconReference()
public String imageIconUrl()
public String imageUrl()
public String md5()
public String rawContent()
public Boolean silentPush()
public String smallImageIconUrl()
public String sound()
public Map<String,List<String>> substitutions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String title()
public String url()
public ADMMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ADMMessage.Builder,ADMMessage>
public static ADMMessage.Builder builder()
public static Class<? extends ADMMessage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.