public static class UnifiedMessage.ConfigBuilder extends Object
Constructor and Description |
---|
ConfigBuilder(UnifiedMessage.Builder builder) |
Modifier and Type | Method and Description |
---|---|
UnifiedMessage |
build() |
UnifiedMessage.CriteriaBuilder |
criteria() |
protected org.jboss.aerogear.unifiedpush.message.Config |
getObject() |
UnifiedMessage.MessageBuilder |
message() |
UnifiedMessage.ConfigBuilder |
timeToLive(int seconds)
Specify the Time To Live of the message, used by the APNs/GCM Push Networks.
|
public ConfigBuilder(UnifiedMessage.Builder builder)
public UnifiedMessage.ConfigBuilder timeToLive(int seconds)
seconds
- , the amount of seconds of the Time To LiveUnifiedMessage.ConfigBuilder
instanceprotected org.jboss.aerogear.unifiedpush.message.Config getObject()
public UnifiedMessage.MessageBuilder message()
public UnifiedMessage.CriteriaBuilder criteria()
public UnifiedMessage build()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.