@Generated(value="software.amazon.awssdk:codegen") public final class JourneyPushMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JourneyPushMessage.Builder,JourneyPushMessage>
Specifies the message configuration for a push notification that's sent to participants in a journey.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JourneyPushMessage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JourneyPushMessage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends JourneyPushMessage.Builder> |
serializableBuilderClass() |
String |
timeToLive()
The number of seconds that the push notification service should keep the message, if the service is unable to
deliver the notification the first time.
|
JourneyPushMessage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String timeToLive()
The number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
public JourneyPushMessage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JourneyPushMessage.Builder,JourneyPushMessage>public static JourneyPushMessage.Builder builder()
public static Class<? extends JourneyPushMessage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.