public static class Notification.Builder extends NotificationInfo.Builder
Builder for Notification
.
Methods
build()
public Notification build()
Creates a NotificationInfo
object.
Type | Description |
Notification |
setCustomAttributes(Map<String,String> customAttributes)
public Notification.Builder setCustomAttributes(Map<String,String> customAttributes)
Name | Description |
customAttributes |
Map<String,String> |
Type | Description |
Notification.Builder |
setEtag(String etag)
public Notification.Builder setEtag(String etag)
Name | Description |
etag |
String |
Type | Description |
Notification.Builder |
setEventTypes(NotificationInfo.EventType[] eventTypes)
public Notification.Builder setEventTypes(NotificationInfo.EventType[] eventTypes)
Name | Description |
eventTypes |
EventType[] |
Type | Description |
Notification.Builder |
setObjectNamePrefix(String objectNamePrefix)
public Notification.Builder setObjectNamePrefix(String objectNamePrefix)
Name | Description |
objectNamePrefix |
String |
Type | Description |
Notification.Builder |
setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
public Notification.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Name | Description |
payloadFormat |
NotificationInfo.PayloadFormat |
Type | Description |
Notification.Builder |
setSelfLink(String selfLink)
public Notification.Builder setSelfLink(String selfLink)
Name | Description |
selfLink |
String |
Type | Description |
Notification.Builder |
setTopic(String topic)
public Notification.Builder setTopic(String topic)
Name | Description |
topic |
String |
Type | Description |
Notification.Builder |