public interface UserDataRequestBuilder
Modifier and Type | Method and Description |
---|---|
UserDataRequest |
build()
Returns an instance of a
UserDataRequest which was constructed using the builder |
UserDataRequestBuilder |
withCustomerExtendedInfo(java.util.Collection<java.lang.String> customerExtendedInfo)
Sets the additional attributes of the Customer in the UserDataRequest.
|
UserDataRequestBuilder |
withDataReferences(java.util.Collection<java.lang.Integer> dataReferences)
Sets the data-references in the UserDataRequest.
|
UserDataRequestBuilder |
withPreferences(java.util.Collection<java.lang.String> preferences)
Sets the preferences in the UserDataRequest.
|
UserDataRequestBuilder |
withProductExtendedInfo(java.util.Collection<java.lang.String> productExtendedInfo)
Sets the additional attributes of the product in the UserDataRequest.
|
UserDataRequestBuilder |
withProductType(java.lang.String productType)
Sets the ProductType in the UserDataRequest.
|
UserDataRequestBuilder |
withRequestTime(java.time.ZonedDateTime requestTime)
Sets request time in the UserDataRequest.
|
UserDataRequestBuilder |
withUserIdentity(java.lang.String userIdentity)
Sets the user identity in the UserDataRequest.
|
UserDataRequestBuilder withUserIdentity(java.lang.String userIdentity)
Equivalent diameter AVP : Public-Identity
userIdentity
- PublicUserIdentity of the product. Eg. 6500001UserDataRequestBuilder withProductType(java.lang.String productType)
Equivalent diameter AVP : Service-Indication
productType
- product type. Eg: DATAUserDataRequestBuilder withPreferences(java.util.Collection<java.lang.String> preferences)
preferences
- collection of preference names. Eg: [Chanel, Language]UserDataRequestBuilder withRequestTime(java.time.ZonedDateTime requestTime)
requestTime
- request time Eg. 2013-11-01T00:01:00UserDataRequestBuilder withCustomerExtendedInfo(java.util.Collection<java.lang.String> customerExtendedInfo)
customerExtendedInfo
- collection of aliases for customer attributes configured in ECE.
UserDataRequestBuilder withProductExtendedInfo(java.util.Collection<java.lang.String> productExtendedInfo)
productExtendedInfo
- collection of aliases for product attributes configured in ECE.
UserDataRequestBuilder withDataReferences(java.util.Collection<java.lang.Integer> dataReferences)
Equivalent diameter AVP : Data-Reference
dataReferences
- collection of data reference numbers. Eg: [51,52]UserDataRequest build() throws MessagesQueryException
UserDataRequest
which was constructed using the builderUserDataRequest
created using the builderMessagesQueryException
- if mandatory field's are not set