Class NotificationInfo.Builder (0.131.0-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

setEventTypes(Iterable<String> eventTypes)

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

setObjectNamePrefix(String objectNamePrefix)

public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)

GcpLaunchStage.Alpha

Parameter
NameDescription
objectNamePrefixString
Returns

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

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

setTopic(ProjectTopicName topic)

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