Class BatchWorkflowRunCreateResponse.Builder
- java.lang.Object
-
- ai.extend.resources.batchworkflowrun.types.BatchWorkflowRunCreateResponse.Builder
-
- All Implemented Interfaces:
BatchWorkflowRunCreateResponse._FinalStage,BatchWorkflowRunCreateResponse.BatchIdStage,BatchWorkflowRunCreateResponse.SuccessStage
- Enclosing class:
- BatchWorkflowRunCreateResponse
public static final class BatchWorkflowRunCreateResponse.Builder extends java.lang.Object implements BatchWorkflowRunCreateResponse.SuccessStage, BatchWorkflowRunCreateResponse.BatchIdStage, BatchWorkflowRunCreateResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchWorkflowRunCreateResponse._FinalStagebatchId(java.lang.String batchId)A unique identifier for the submitted batch.BatchWorkflowRunCreateResponsebuild()BatchWorkflowRunCreateResponse.Builderfrom(BatchWorkflowRunCreateResponse other)BatchWorkflowRunCreateResponse.BatchIdStagesuccess(boolean success)Indicates whether the batch request was successfully accepted and queued.
-
-
-
Method Detail
-
from
public BatchWorkflowRunCreateResponse.Builder from(BatchWorkflowRunCreateResponse other)
- Specified by:
fromin interfaceBatchWorkflowRunCreateResponse.SuccessStage
-
success
public BatchWorkflowRunCreateResponse.BatchIdStage success(boolean success)
Indicates whether the batch request was successfully accepted and queued.
truesignifies success.Indicates whether the batch request was successfully accepted and queued.
truesignifies success.- Specified by:
successin interfaceBatchWorkflowRunCreateResponse.SuccessStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
batchId
public BatchWorkflowRunCreateResponse._FinalStage batchId(@NotNull java.lang.String batchId)
A unique identifier for the submitted batch. This ID can be used to correlate the workflow runs created by this request. You can find this
batchIdassociated with individual runs when listing workflow runs or in webhook payloads.A unique identifier for the submitted batch. This ID can be used to correlate the workflow runs created by this request. You can find this
batchIdassociated with individual runs when listing workflow runs or in webhook payloads.- Specified by:
batchIdin interfaceBatchWorkflowRunCreateResponse.BatchIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public BatchWorkflowRunCreateResponse build()
- Specified by:
buildin interfaceBatchWorkflowRunCreateResponse._FinalStage
-
-