Class NotificationInfo.Builder (0.123.15-beta)

public static final class NotificationInfo.Builder

Inheritance

java.lang.Object > NotificationInfo.Builder

Methods

build()

public NotificationInfo build()
Returns
TypeDescription
NotificationInfo

setCustomAttributes(Map<String,String> customAttributes)

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

setEventTypes(Iterable<String> eventTypes)

public NotificationInfo.Builder setEventTypes(Iterable<String> eventTypes)
Parameter
NameDescription
eventTypesIterable<String>
Returns
TypeDescription
NotificationInfo.Builder

setObjectNamePrefix(String objectNamePrefix)

public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)

GcpLaunchStage.Alpha

Parameter
NameDescription
objectNamePrefixString
Returns
TypeDescription
NotificationInfo.Builder

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Parameter
NameDescription
payloadFormatNotificationInfo.PayloadFormat
Returns
TypeDescription
NotificationInfo.Builder

setTopic(ProjectTopicName topic)

public NotificationInfo.Builder setTopic(ProjectTopicName topic)
Parameter
NameDescription
topiccom.google.pubsub.v1.ProjectTopicName
Returns
TypeDescription
NotificationInfo.Builder