Package io.awspring.cloud.sns.core
Class SnsNotification<T>
java.lang.Object
io.awspring.cloud.sns.core.SnsNotification<T>
- Type Parameters:
T
- - type of payload
SNS notification object.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SnsNotification.Builder<T>
builder
(T payload) Creates a builder with payload.static <T> SnsNotification<T>
of
(T payload) Creates notification from payload.
-
Constructor Details
-
SnsNotification
-
-
Method Details
-
of
Creates notification from payload.- Type Parameters:
T
- - type of payload- Parameters:
payload
- - notification payload- Returns:
- the notification
-
builder
Creates a builder with payload.- Type Parameters:
T
- - type of payload- Parameters:
payload
- - notification payload- Returns:
- the notification
-
getSubject
-
getPayload
-
getHeaders
-
getGroupId
-
getDeduplicationId
-