Interface PasswordEnrollmentError.Builder
- Enclosing interface:
- PasswordEnrollmentError
public static interface PasswordEnrollmentError.Builder
A builder for
PasswordEnrollmentError
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPasswordEnrollmentError
.Sets theException
that caused the error.description
(String description) Sets the description of the error.
-
Method Details
-
description
Sets the description of the error.Providing the description is required.
- Parameters:
description
- the error description- Returns:
- a builder
-
cause
Sets theException
that caused the error.- Parameters:
cause
- the cause of the error- Returns:
- a builder
-
build
PasswordEnrollmentError build()Builds aPasswordEnrollmentError
.- Returns:
- a
PasswordEnrollmentError
-