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