public static class NotificationInfo.BuilderImpl extends NotificationInfo.Builder
NotificationInfo
.Modifier and Type | Method and Description |
---|---|
NotificationInfo |
build()
Creates a
NotificationInfo object. |
NotificationInfo.Builder |
setCustomAttributes(Map<String,String> customAttributes) |
NotificationInfo.Builder |
setEtag(String etag) |
NotificationInfo.Builder |
setEventTypes(NotificationInfo.EventType... eventTypes) |
NotificationInfo.Builder |
setObjectNamePrefix(String objectNamePrefix) |
NotificationInfo.Builder |
setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat) |
NotificationInfo.Builder |
setSelfLink(String selfLink) |
NotificationInfo.Builder |
setTopic(String topic)
Sets a topic in the format of "projects/{project}/topics/{topic}".
|
public NotificationInfo.Builder setSelfLink(String selfLink)
setSelfLink
in class NotificationInfo.Builder
public NotificationInfo.Builder setTopic(String topic)
setTopic
in class NotificationInfo.Builder
public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
setPayloadFormat
in class NotificationInfo.Builder
public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)
setObjectNamePrefix
in class NotificationInfo.Builder
public NotificationInfo.Builder setEventTypes(NotificationInfo.EventType... eventTypes)
setEventTypes
in class NotificationInfo.Builder
public NotificationInfo.Builder setEtag(String etag)
setEtag
in class NotificationInfo.Builder
public NotificationInfo.Builder setCustomAttributes(Map<String,String> customAttributes)
setCustomAttributes
in class NotificationInfo.Builder
public NotificationInfo build()
NotificationInfo.Builder
NotificationInfo
object.build
in class NotificationInfo.Builder
Copyright © 2023 Google LLC. All rights reserved.