Class TermsAndConditionsCallback.Builder
java.lang.Object
org.forgerock.openam.authentication.callbacks.TermsAndConditionsCallback.Builder
- Enclosing class:
- TermsAndConditionsCallback
A builder for
TermsAndConditionsCallback
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the TermsAndConditionsCallback.withCreateDate
(String createDate) Set the create date.Set the Terms & Conditions.withVersion
(String version) Set the version.
-
Method Details
-
withTerms
Set the Terms & Conditions.- Parameters:
terms
- the Terms & Conditions- Returns:
- this builder
-
withVersion
Set the version.- Parameters:
version
- the version- Returns:
- this builder
-
withCreateDate
Set the create date.- Parameters:
createDate
- the create date- Returns:
- this builder
-
build
Build the TermsAndConditionsCallback.- Returns:
- the TermsAndConditionsCallback
-