Class NotificationInfo.Builder (2.22.2)

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
TypeDescription
NotificationInfo

setCustomAttributes(Map<String,String> customAttributes)

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

setEtag(String etag)

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

setEventTypes(NotificationInfo.EventType[] eventTypes)

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

setObjectNamePrefix(String objectNamePrefix)

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

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

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

setTopic(String topic)

public abstract NotificationInfo.Builder setTopic(String topic)
Parameter
NameDescription
topicString
Returns
TypeDescription
NotificationInfo.Builder