Class NotificationInfo.BuilderImpl (2.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
public static class NotificationInfo.BuilderImpl extends NotificationInfo.Builder
Builder for NotificationInfo
.
Methods
build()
public NotificationInfo build()
Creates a NotificationInfo
object.
Returns
Overrides
setCustomAttributes(Map<String,String> customAttributes)
public NotificationInfo.Builder setCustomAttributes(Map<String,String> customAttributes)
Parameter
Returns
Overrides
setEtag(String etag)
public NotificationInfo.Builder setEtag(String etag)
Parameter
Returns
Overrides
setEventTypes(NotificationInfo.EventType[] eventTypes)
public NotificationInfo.Builder setEventTypes(NotificationInfo.EventType[] eventTypes)
Parameter
Returns
Overrides
setObjectNamePrefix(String objectNamePrefix)
public NotificationInfo.Builder setObjectNamePrefix(String objectNamePrefix)
Parameter
Name |
Description |
objectNamePrefix |
String
|
Returns
Overrides
public NotificationInfo.Builder setPayloadFormat(NotificationInfo.PayloadFormat payloadFormat)
Parameter
Returns
Overrides
setSelfLink(String selfLink)
public NotificationInfo.Builder setSelfLink(String selfLink)
Parameter
Name |
Description |
selfLink |
String
|
Returns
Overrides
setTopic(String topic)
public NotificationInfo.Builder setTopic(String topic)
Sets a topic in the format of "projects/{project}/topics/{topic}".
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]