Interface AuthenticationQueryRequestBuilder
public interface AuthenticationQueryRequestBuilder
Interface defining the Authentication Query request builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()returns an instance of a QueryRequest constructed using the builder.withProductType(String productType) Builds QueryRequest with specified ProductTypewithRequestTime(ZonedDateTime requestTime) Builds QueryRequest with specified request timewithUserIdentity(String userIdentity) sets the user identity for this QueryRequest
-
Method Details
-
withUserIdentity
sets the user identity for this QueryRequest- Parameters:
userIdentity- reference to customer that triggers this usage- Returns:
- the current builder to support chaining construct.
-
withProductType
Builds QueryRequest with specified ProductType- Parameters:
productType- ProductType- Returns:
- AuthenticationQueryRequestBuilder
-
withRequestTime
Builds QueryRequest with specified request time- Parameters:
requestTime- request time- Returns:
- AuthenticationQueryRequestBuilder
-
build
returns an instance of a QueryRequest constructed using the builder.- Returns:
- an instance of a QueryRequest created using the builder
- Throws:
MessagesQueryException- if the request is not well formed.
-