public static class NotificationInfo.BuilderImpl extends NotificationInfo.Builder
Builder for NotificationInfo
.
Methods
build()
public NotificationInfo build()
Creates a NotificationInfo
object.
Type | Description |
NotificationInfo |
setCustomAttributes(Map<String,String> customAttributes)
public NotificationInfo.Builder setCustomAttributes(Map<String,String> customAttributes)
Name | Description |
customAttributes |
Map<String,String> |
Type | Description |
NotificationInfo.Builder |
setEtag(String etag)
public NotificationInfo.Builder setEtag(String etag)
Name | Description |
etag |
String |
Type | Description |
NotificationInfo.Builder |
setEventTypes(NotificationInfo.EventType[] eventTypes)
public NotificationInfo.Builder setEventTypes(NotificationInfo.EventType[] eventTypes)
Name | Description |
eventTypes |
EventType[] |
Type | Description |
NotificationInfo.Builder |
setObjectNamePrefix(String objectNamePrefix)
public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)
Name | Description |
objectNamePrefix |
String |
Type | Description |
NotificationInfo.Builder |
setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Name | Description |
payloadFormat |
NotificationInfo.PayloadFormat |
Type | Description |
NotificationInfo.Builder |
setSelfLink(String selfLink)
public NotificationInfo.Builder setSelfLink(String selfLink)
Name | Description |
selfLink |
String |
Type | Description |
NotificationInfo.Builder |
setTopic(String topic)
public NotificationInfo.Builder setTopic(String topic)
Sets a topic in the format of "projects/{project}/topics/{topic}".
Name | Description |
topic |
String |
Type | Description |
NotificationInfo.Builder |