Class DeviceProfileCallback.Builder
java.lang.Object
org.forgerock.openam.authentication.callbacks.DeviceProfileCallback.Builder
- Enclosing class:
- DeviceProfileCallback
Builder for DeviceProfileCallback.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the DeviceProfileCallback.withLocation(boolean location) Set the location to capture.withMessage(String message) Set the message to display.withMetadata(boolean metadata) Set the metadata to capture.
-
Method Details
-
withMetadata
Set the metadata to capture.- Parameters:
metadata- The metadata to capture- Returns:
- this builder
-
withLocation
Set the location to capture.- Parameters:
location- The location to capture- Returns:
- this builder
-
withMessage
Set the message to display.- Parameters:
message- The message to display- Returns:
- this builder
-
build
Build the DeviceProfileCallback.- Returns:
- The DeviceProfileCallback
-