Package ai.extend.types
Class ProvidedClassifyOutput.Builder
- java.lang.Object
-
- ai.extend.types.ProvidedClassifyOutput.Builder
-
- All Implemented Interfaces:
ProvidedClassifyOutput._FinalStage,ProvidedClassifyOutput.IdStage,ProvidedClassifyOutput.TypeStage
- Enclosing class:
- ProvidedClassifyOutput
public static final class ProvidedClassifyOutput.Builder extends java.lang.Object implements ProvidedClassifyOutput.IdStage, ProvidedClassifyOutput.TypeStage, ProvidedClassifyOutput._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvidedClassifyOutputbuild()ProvidedClassifyOutput.Builderfrom(ProvidedClassifyOutput other)ProvidedClassifyOutput.TypeStageid(java.lang.String id)The unique identifier for this classification (defined in the classifier config)ProvidedClassifyOutput._FinalStagetype(java.lang.String type)The type of classification (defined in the classifier config)
-
-
-
Method Detail
-
from
public ProvidedClassifyOutput.Builder from(ProvidedClassifyOutput other)
- Specified by:
fromin interfaceProvidedClassifyOutput.IdStage
-
id
public ProvidedClassifyOutput.TypeStage id(@NotNull java.lang.String id)
The unique identifier for this classification (defined in the classifier config)
The unique identifier for this classification (defined in the classifier config)
- Specified by:
idin interfaceProvidedClassifyOutput.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public ProvidedClassifyOutput._FinalStage type(@NotNull java.lang.String type)
The type of classification (defined in the classifier config)
The type of classification (defined in the classifier config)
- Specified by:
typein interfaceProvidedClassifyOutput.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ProvidedClassifyOutput build()
- Specified by:
buildin interfaceProvidedClassifyOutput._FinalStage
-
-