Class RequestedLivenessCheck.Builder

java.lang.Object
com.yoti.api.client.docs.session.create.check.RequestedLivenessCheck.Builder
Enclosing class:
RequestedLivenessCheck

public static class RequestedLivenessCheck.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • forZoomLiveness

      public RequestedLivenessCheck.Builder forZoomLiveness()
      Sets the type to be of a ZOOM liveness check
      Returns:
      the builder
    • forStaticLiveness

      public RequestedLivenessCheck.Builder forStaticLiveness()
      Sets the type to be of a STATIC liveness check
      Returns:
      the builder
    • forLivenessType

      public RequestedLivenessCheck.Builder forLivenessType(String livenessType)
      Sets the type of the liveness check to the supplied value
      Parameters:
      livenessType - the type of the liveness check
      Returns:
      the builder
    • withMaxRetries

      public RequestedLivenessCheck.Builder withMaxRetries(int maxRetries)
      Sets the maximum number of retries allowed by the user
      Parameters:
      maxRetries - the maximum number of retries
      Returns:
      the builder
    • build

      public RequestedLivenessCheck build()