public interface PolicySessionRequestBuilder extends PolicyRequestBuilder<PolicySessionRequest.RequestType,PolicySessionRequestBuilder>
PolicySessionRequest
Modifier and Type | Method and Description |
---|---|
PolicySessionRequestBuilder |
withExpiryTime(java.time.ZonedDateTime expiryTime)
Sets the expiry time in the PolicyRequest.
|
PolicySessionRequestBuilder |
withPolicyCounters(java.util.Collection<java.lang.String> policyCounters)
Sets the policy counters in the PolicyRequest.
|
PolicySessionRequestBuilder |
withPreferences(java.util.Collection<java.lang.String> preferences)
Sets the preferences in the PolicyRequest.
|
PolicySessionRequestBuilder |
withSessionId(java.lang.String sessionId)
Sets the session id in the PolicyRequest.
|
build, withProductType, withRequestTime, withRequestType, withUserIdentity
PolicySessionRequestBuilder withPreferences(java.util.Collection<java.lang.String> preferences)
preferences
- set of preferences to be subscribed/un-subscribed (eg. [Chanel, Language])PolicySessionRequestBuilder withExpiryTime(java.time.ZonedDateTime expiryTime)
expiryTime
- date when subscription should ceasePolicySessionRequestBuilder withSessionId(java.lang.String sessionId)
withSessionId
in interface PolicyRequestBuilder<PolicySessionRequest.RequestType,PolicySessionRequestBuilder>
sessionId
- unique identifier associated with the request (eg. SESSION-001)PolicySessionRequestBuilder withPolicyCounters(java.util.Collection<java.lang.String> policyCounters)
policyCounters
- collection of policy counters (eg. [USD, FREE_MINS])