Class EditCreateAsyncRequest.Builder
- java.lang.Object
-
- ai.extend.resources.edit.requests.EditCreateAsyncRequest.Builder
-
- All Implemented Interfaces:
EditCreateAsyncRequest._FinalStage,EditCreateAsyncRequest.FileStage
- Enclosing class:
- EditCreateAsyncRequest
public static final class EditCreateAsyncRequest.Builder extends java.lang.Object implements EditCreateAsyncRequest.FileStage, EditCreateAsyncRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditCreateAsyncRequestbuild()EditCreateAsyncRequest._FinalStageconfig(EditCreateAsyncRequestConfig config)Configuration for the edit operation.EditCreateAsyncRequest._FinalStageconfig(java.util.Optional<EditCreateAsyncRequestConfig> config)Configuration for the edit operation.EditCreateAsyncRequest._FinalStagefile(EditCreateAsyncRequestFile file)A file object containing either a URL or a fileId.EditCreateAsyncRequest.Builderfrom(EditCreateAsyncRequest other)
-
-
-
Method Detail
-
from
public EditCreateAsyncRequest.Builder from(EditCreateAsyncRequest other)
- Specified by:
fromin interfaceEditCreateAsyncRequest.FileStage
-
file
public EditCreateAsyncRequest._FinalStage file(@NotNull EditCreateAsyncRequestFile file)
A file object containing either a URL or a fileId.
A file object containing either a URL or a fileId.
- Specified by:
filein interfaceEditCreateAsyncRequest.FileStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
config
public EditCreateAsyncRequest._FinalStage config(EditCreateAsyncRequestConfig config)
Configuration for the edit operation. Field values should be specified using
extend_edit:valueon each field in the schema.- Specified by:
configin interfaceEditCreateAsyncRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
config
public EditCreateAsyncRequest._FinalStage config(java.util.Optional<EditCreateAsyncRequestConfig> config)
Configuration for the edit operation. Field values should be specified using
extend_edit:valueon each field in the schema.- Specified by:
configin interfaceEditCreateAsyncRequest._FinalStage
-
build
public EditCreateAsyncRequest build()
- Specified by:
buildin interfaceEditCreateAsyncRequest._FinalStage
-
-