Package com.dzidzi.dto.administration
Class AddAdministrationRequest.Builder
java.lang.Object
com.dzidzi.dto.administration.AddAdministrationRequest.Builder
- Enclosing class:
AddAdministrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The first name of the adminThe last name of the adminnewPassword(String newPassword) The new password to use.repeatPass(String repeatPass) The same password typed in newPasswordtoString()The new username to use for your account
-
Method Details
-
firstName
The first name of the admin- Returns:
this.
-
lastName
The last name of the admin- Returns:
this.
-
newPassword
The new password to use. Password should contain lowercase, uppercase, number, special character and at least 12 characters.- Returns:
this.
-
repeatPass
The same password typed in newPassword- Returns:
this.
-
username
The new username to use for your account- Returns:
this.
-
build
-
toString
-