Class EditSchemasGenerateRequest.Builder
- java.lang.Object
-
- ai.extend.resources.editschemas.requests.EditSchemasGenerateRequest.Builder
-
- All Implemented Interfaces:
EditSchemasGenerateRequest._FinalStage,EditSchemasGenerateRequest.FileStage
- Enclosing class:
- EditSchemasGenerateRequest
public static final class EditSchemasGenerateRequest.Builder extends java.lang.Object implements EditSchemasGenerateRequest.FileStage, EditSchemasGenerateRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditSchemasGenerateRequestbuild()EditSchemasGenerateRequest._FinalStageconfig(EditSchemaGenerationConfig config)EditSchemasGenerateRequest._FinalStageconfig(java.util.Optional<EditSchemaGenerationConfig> config)EditSchemasGenerateRequest._FinalStagefile(EditSchemasGenerateRequestFile file)The file to analyze.EditSchemasGenerateRequest.Builderfrom(EditSchemasGenerateRequest other)
-
-
-
Method Detail
-
from
public EditSchemasGenerateRequest.Builder from(EditSchemasGenerateRequest other)
- Specified by:
fromin interfaceEditSchemasGenerateRequest.FileStage
-
file
public EditSchemasGenerateRequest._FinalStage file(@NotNull EditSchemasGenerateRequestFile file)
The file to analyze. Files can be provided as a URL or an Extend file ID.
The file to analyze. Files can be provided as a URL or an Extend file ID.
- Specified by:
filein interfaceEditSchemasGenerateRequest.FileStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
config
public EditSchemasGenerateRequest._FinalStage config(EditSchemaGenerationConfig config)
- Specified by:
configin interfaceEditSchemasGenerateRequest._FinalStage
-
config
public EditSchemasGenerateRequest._FinalStage config(java.util.Optional<EditSchemaGenerationConfig> config)
- Specified by:
configin interfaceEditSchemasGenerateRequest._FinalStage
-
build
public EditSchemasGenerateRequest build()
- Specified by:
buildin interfaceEditSchemasGenerateRequest._FinalStage
-
-