Class NotificationInfo.Builder (0.169.0-beta)

public static final class NotificationInfo.Builder

Inheritance

java.lang.Object > NotificationInfo.Builder

Methods

build()

public NotificationInfo build()
Returns
Type Description
NotificationInfo

setCustomAttributes(Map<String,String> customAttributes)

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

setEventTypes(Iterable<String> eventTypes)

public NotificationInfo.Builder setEventTypes(Iterable<String> eventTypes)
Parameter
Name Description
eventTypes Iterable<String>
Returns
Type Description
NotificationInfo.Builder

setObjectNamePrefix(String objectNamePrefix)

public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)

GcpLaunchStage.Alpha

Parameter
Name Description
objectNamePrefix String
Returns
Type Description
NotificationInfo.Builder

setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)

public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Parameter
Name Description
payloadFormat NotificationInfo.PayloadFormat
Returns
Type Description
NotificationInfo.Builder

setTopic(ProjectTopicName topic)

public NotificationInfo.Builder setTopic(ProjectTopicName topic)
Parameter
Name Description
topic com.google.pubsub.v1.ProjectTopicName
Returns
Type Description
NotificationInfo.Builder