Package com.google.cloud.storage
Class NotificationInfo.BuilderImpl
java.lang.Object
com.google.cloud.storage.NotificationInfo.Builder
com.google.cloud.storage.NotificationInfo.BuilderImpl
- Enclosing class:
- NotificationInfo
Builder for
NotificationInfo
.-
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) Sets a topic in the format of "projects/{project}/topics/{topic}".
-
Method Details
-
setSelfLink
- Specified by:
setSelfLink
in classNotificationInfo.Builder
-
setTopic
Sets a topic in the format of "projects/{project}/topics/{topic}".- 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
-