Package com.google.cloud.storage
Class Notification.Builder
java.lang.Object
com.google.cloud.storage.NotificationInfo.Builder
com.google.cloud.storage.Notification.Builder
- Enclosing class:
- Notification
Builder for
Notification
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates aNotificationInfo
object.setCustomAttributes
(Map<String, String> customAttributes) setEventTypes
(NotificationInfo.EventType... eventTypes) setObjectNamePrefix
(String objectNamePrefix) setPayloadFormat
(NotificationInfo.PayloadFormat payloadFormat) setSelfLink
(String selfLink)
-
Method Details
-
setSelfLink
- Specified by:
setSelfLink
in classNotificationInfo.Builder
-
setTopic
- Specified by:
setTopic
in classNotificationInfo.Builder
-
setPayloadFormat
- Specified by:
setPayloadFormat
in classNotificationInfo.Builder
-
setObjectNamePrefix
- Specified by:
setObjectNamePrefix
in classNotificationInfo.Builder
-
setEventTypes
- Specified by:
setEventTypes
in classNotificationInfo.Builder
-
setEtag
- Specified by:
setEtag
in classNotificationInfo.Builder
-
setCustomAttributes
- Specified by:
setCustomAttributes
in classNotificationInfo.Builder
-
build
Description copied from class:NotificationInfo.Builder
Creates aNotificationInfo
object.- Specified by:
build
in classNotificationInfo.Builder
-