Class AttemptsConfiguration.Builder

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

public static final class AttemptsConfiguration.Builder extends Object
  • Method Details

    • withIdDocumentTextExtractionReclassificationRetries

      public AttemptsConfiguration.Builder withIdDocumentTextExtractionReclassificationRetries(int numberOfRetries)
      Sets the number of allowed RECLASSIFICATION attempts for a given ID document text extraction task
      Parameters:
      numberOfRetries - the number of allowed RECLASSIFICATION attempts
      Returns:
      the builder
    • withIdDocumentTextExtractionGenericRetries

      public AttemptsConfiguration.Builder withIdDocumentTextExtractionGenericRetries(int numberOfRetries)
      Sets the number of allowed GENERIC attempts for a given ID document text extraction task
      Parameters:
      numberOfRetries - the number of allowed GENERIC attempts
      Returns:
      the builder
    • build

      public AttemptsConfiguration build()