Package ai.extend.types
Class DocumentProcessorRunCredits.Builder
- java.lang.Object
-
- ai.extend.types.DocumentProcessorRunCredits.Builder
-
- All Implemented Interfaces:
DocumentProcessorRunCredits._FinalStage,DocumentProcessorRunCredits.CreditsStage
- Enclosing class:
- DocumentProcessorRunCredits
public static final class DocumentProcessorRunCredits.Builder extends java.lang.Object implements DocumentProcessorRunCredits.CreditsStage, DocumentProcessorRunCredits._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentProcessorRunCreditsbuild()DocumentProcessorRunCredits._FinalStagecredits(double credits)The number of credits consumed specifically for document processing in this processor run.DocumentProcessorRunCredits.Builderfrom(DocumentProcessorRunCredits other)
-
-
-
Method Detail
-
from
public DocumentProcessorRunCredits.Builder from(DocumentProcessorRunCredits other)
- Specified by:
fromin interfaceDocumentProcessorRunCredits.CreditsStage
-
credits
public DocumentProcessorRunCredits._FinalStage credits(double credits)
The number of credits consumed specifically for document processing in this processor run. This does not include file parsing credits.
The number of credits consumed specifically for document processing in this processor run. This does not include file parsing credits.
- Specified by:
creditsin interfaceDocumentProcessorRunCredits.CreditsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DocumentProcessorRunCredits build()
- Specified by:
buildin interfaceDocumentProcessorRunCredits._FinalStage
-
-