Class NotificationInfo.BuilderImpl (2.29.0)

public static class NotificationInfo.BuilderImpl extends NotificationInfo.Builder

Builder for NotificationInfo.

Inheritance

java.lang.Object > NotificationInfo.Builder > NotificationInfo.BuilderImpl

Methods

build()

public NotificationInfo build()

Creates a NotificationInfo object.

Returns
TypeDescription
NotificationInfo
Overrides

setCustomAttributes(Map<String,String> customAttributes)

public NotificationInfo.Builder setCustomAttributes(Map<String,String> customAttributes)
Parameter
NameDescription
customAttributesMap<String,String>
Returns
TypeDescription
NotificationInfo.Builder
Overrides

setEtag(String etag)

public NotificationInfo.Builder setEtag(String etag)
Parameter
NameDescription
etagString
Returns
TypeDescription
NotificationInfo.Builder
Overrides

setEventTypes(NotificationInfo.EventType[] eventTypes)

public NotificationInfo.Builder setEventTypes(NotificationInfo.EventType[] eventTypes)
Parameter
NameDescription
eventTypesEventType[]
Returns
TypeDescription
NotificationInfo.Builder
Overrides

setObjectNamePrefix(String objectNamePrefix)

public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)
Parameter
NameDescription
objectNamePrefixString
Returns
TypeDescription
NotificationInfo.Builder
Overrides

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Parameter
NameDescription
payloadFormatNotificationInfo.PayloadFormat
Returns
TypeDescription
NotificationInfo.Builder
Overrides
public NotificationInfo.Builder setSelfLink(String selfLink)
Parameter
NameDescription
selfLinkString
Returns
TypeDescription
NotificationInfo.Builder
Overrides

setTopic(String topic)

public NotificationInfo.Builder setTopic(String topic)

Sets a topic in the format of "projects/{project}/topics/{topic}".

Parameter
NameDescription
topicString
Returns
TypeDescription
NotificationInfo.Builder
Overrides