Interface JourneyPushMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JourneyPushMessage.Builder,
,JourneyPushMessage> SdkBuilder<JourneyPushMessage.Builder,
,JourneyPushMessage> SdkPojo
- Enclosing class:
JourneyPushMessage
@Mutable
@NotThreadSafe
public static interface JourneyPushMessage.Builder
extends SdkPojo, CopyableBuilder<JourneyPushMessage.Builder,JourneyPushMessage>
-
Method Summary
Modifier and TypeMethodDescriptiontimeToLive
(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-