Package com.google.cloud.storage
Class Notification
java.lang.Object
com.google.cloud.storage.NotificationInfo
com.google.cloud.storage.Notification
- All Implemented Interfaces:
Serializable
The class representing Pub/Sub notifications for the Storage. See pubsub-notifications for
details.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.cloud.storage.NotificationInfo
NotificationInfo.BuilderImpl, NotificationInfo.EventType, NotificationInfo.PayloadFormat
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the notification'sStorage
object used to issue requests.int
hashCode()
Returns a builder for the current notification.Methods inherited from class com.google.cloud.storage.NotificationInfo
getCustomAttributes, getEtag, getEventTypes, getNotificationId, getObjectNamePrefix, getPayloadFormat, getSelfLink, getTopic, newBuilder, of, toString
-
Method Details
-
getStorage
Returns the notification'sStorage
object used to issue requests. -
toBuilder
Description copied from class:NotificationInfo
Returns a builder for the current notification.- Overrides:
toBuilder
in classNotificationInfo
-
equals
- Overrides:
equals
in classNotificationInfo
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNotificationInfo
-