public static class Notification.Builder extends NotificationInfo.Builder
Notification
.Modifier and Type | Method and Description |
---|---|
Notification |
build()
Creates a
NotificationInfo object. |
Notification.Builder |
setCustomAttributes(Map<String,String> customAttributes) |
Notification.Builder |
setEtag(String etag) |
Notification.Builder |
setEventTypes(NotificationInfo.EventType... eventTypes) |
Notification.Builder |
setObjectNamePrefix(String objectNamePrefix) |
Notification.Builder |
setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat) |
Notification.Builder |
setSelfLink(String selfLink) |
Notification.Builder |
setTopic(String topic) |
public Notification.Builder setSelfLink(String selfLink)
setSelfLink
in class NotificationInfo.Builder
public Notification.Builder setTopic(String topic)
setTopic
in class NotificationInfo.Builder
public Notification.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
setPayloadFormat
in class NotificationInfo.Builder
public Notification.Builder setObjectNamePrefix(String objectNamePrefix)
setObjectNamePrefix
in class NotificationInfo.Builder
public Notification.Builder setEventTypes(NotificationInfo.EventType... eventTypes)
setEventTypes
in class NotificationInfo.Builder
public Notification.Builder setEtag(String etag)
setEtag
in class NotificationInfo.Builder
public Notification.Builder setCustomAttributes(Map<String,String> customAttributes)
setCustomAttributes
in class NotificationInfo.Builder
public Notification build()
NotificationInfo.Builder
NotificationInfo
object.build
in class NotificationInfo.Builder
Copyright © 2023 Google LLC. All rights reserved.