public interface SubscribeNotificationRequestBuilder extends PolicyRequestBuilder<SubscribeNotificationRequest.RequestType,SubscribeNotificationRequestBuilder>
SubscribeNotificationRequest
Modifier and Type | Method and Description |
---|---|
SubscribeNotificationRequestBuilder |
withDataReferences(java.util.Collection<java.lang.Integer> dataReferences)
Sets the data-references in the SubscribeNotificationRequest.
|
SubscribeNotificationRequestBuilder |
withExpiryTime(java.time.ZonedDateTime expiryTime)
Sets expiry time in this PolicyRequest.
|
SubscribeNotificationRequestBuilder |
withIsUserDataRequested(boolean isUserDataRequested)
Sets isUserDataRequested flag in the SubscribeNotificationRequest.
|
SubscribeNotificationRequestBuilder |
withPreferences(java.util.Collection<java.lang.String> preferences)
Sets the preferences for this PolicyRequest.
|
build, withProductType, withRequestTime, withRequestType, withSessionId, withUserIdentity
SubscribeNotificationRequestBuilder withPreferences(java.util.Collection<java.lang.String> preferences)
preferences
- set of preferences to be subscribed/un-subscribed (eg. [Language, Channel])SubscribeNotificationRequestBuilder withExpiryTime(java.time.ZonedDateTime expiryTime)
Equivalent diameter AVP : Expiry-Time
expiryTime
- date when subscription should ceaseSubscribeNotificationRequestBuilder withDataReferences(java.util.Collection<java.lang.Integer> dataReferences)
Equivalent diameter AVP : Data-Reference
dataReferences
- collection of data reference numbers. Eg: [51,52]SubscribeNotificationRequestBuilder withIsUserDataRequested(boolean isUserDataRequested)
Equivalent diameter AVP : Send-Data-Indication
isUserDataRequested
- true if response should contain user data, false otherwise