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 ClassesNested classes/interfaces inherited from class com.google.cloud.storage.NotificationInfo
NotificationInfo.BuilderImpl, NotificationInfo.EventType, NotificationInfo.PayloadFormat -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the notification'sStorageobject used to issue requests.inthashCode()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'sStorageobject used to issue requests. -
toBuilder
Description copied from class:NotificationInfoReturns a builder for the current notification.- Overrides:
toBuilderin classNotificationInfo
-
equals
- Overrides:
equalsin classNotificationInfo
-
hashCode
public int hashCode()- Overrides:
hashCodein classNotificationInfo
-