Class NotificationInfo.Builder (2.28.0)

public abstract static class NotificationInfo.Builder

Builder for NotificationInfo.

Inheritance

java.lang.Object > NotificationInfo.Builder

Methods

build()

public abstract NotificationInfo build()

Creates a NotificationInfo object.

Returns
Type Description
NotificationInfo

setCustomAttributes(Map<String,String> customAttributes)

public abstract NotificationInfo.Builder setCustomAttributes(Map<String,String> customAttributes)
Parameter
Name Description
customAttributes Map<String,String>
Returns
Type Description
NotificationInfo.Builder

setEtag(String etag)

public abstract NotificationInfo.Builder setEtag(String etag)
Parameter
Name Description
etag String
Returns
Type Description
NotificationInfo.Builder

setEventTypes(NotificationInfo.EventType[] eventTypes)

public abstract NotificationInfo.Builder setEventTypes(NotificationInfo.EventType[] eventTypes)
Parameter
Name Description
eventTypes EventType[]
Returns
Type Description
NotificationInfo.Builder

setObjectNamePrefix(String objectNamePrefix)

public abstract NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)
Parameter
Name Description
objectNamePrefix String
Returns
Type Description
NotificationInfo.Builder

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

public abstract NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Parameter
Name Description
payloadFormat NotificationInfo.PayloadFormat
Returns
Type Description
NotificationInfo.Builder
public abstract NotificationInfo.Builder setSelfLink(String selfLink)
Parameter
Name Description
selfLink String
Returns
Type Description
NotificationInfo.Builder

setTopic(String topic)

public abstract NotificationInfo.Builder setTopic(String topic)
Parameter
Name Description
topic String
Returns
Type Description
NotificationInfo.Builder