Package glair.vision.model.param
Class IdentityFaceVerificationParam.Builder
java.lang.Object
glair.vision.model.param.IdentityFaceVerificationParam.Builder
- Enclosing class:
- IdentityFaceVerificationParam
Builder class for constructing IdentityFaceVerificationParam object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build an IdentityVerificationParam object.dateOfBirth(String dateOfBirth) Sets the date of birth of the individual.faceImagePath(String faceImagePath) Sets the face image path data.Sets the name of the individual.Sets the NIK (Nomor Induk Kependudukan).
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nik
Sets the NIK (Nomor Induk Kependudukan).- Parameters:
nik- The NIK to set.- Returns:
- The Builder object.
-
name
Sets the name of the individual.- Parameters:
name- The name (spaces allowed).- Returns:
- The Builder object.
-
dateOfBirth
Sets the date of birth of the individual.- Parameters:
dateOfBirth- The date of birth in the format "dd-mm-yyyy".- Returns:
- The Builder object.
-
faceImagePath
Sets the face image path data.- Parameters:
faceImagePath- The face image path data to set.- Returns:
- The Builder object.
-
build
Build an IdentityVerificationParam object.- Returns:
- The constructed object.
- Throws:
Exception- If required fields are missing.
-