Package ai.extend.types
Class LegacyClassification.Builder
- java.lang.Object
-
- ai.extend.types.LegacyClassification.Builder
-
- All Implemented Interfaces:
LegacyClassification._FinalStage,LegacyClassification.DescriptionStage,LegacyClassification.IdStage,LegacyClassification.TypeStage
- Enclosing class:
- LegacyClassification
public static final class LegacyClassification.Builder extends java.lang.Object implements LegacyClassification.IdStage, LegacyClassification.TypeStage, LegacyClassification.DescriptionStage, LegacyClassification._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyClassificationbuild()LegacyClassification._FinalStagedescription(java.lang.String description)A detailed description of the classification.LegacyClassification.Builderfrom(LegacyClassification other)LegacyClassification.TypeStageid(java.lang.String id)Unique identifier for the classification.LegacyClassification.DescriptionStagetype(java.lang.String type)Type identifier for the classification.
-
-
-
Method Detail
-
from
public LegacyClassification.Builder from(LegacyClassification other)
- Specified by:
fromin interfaceLegacyClassification.IdStage
-
id
public LegacyClassification.TypeStage id(@NotNull java.lang.String id)
Unique identifier for the classification. We recommend lowercase, underscore-separated format.
Unique identifier for the classification. We recommend lowercase, underscore-separated format.
- Specified by:
idin interfaceLegacyClassification.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public LegacyClassification.DescriptionStage type(@NotNull java.lang.String type)
Type identifier for the classification.
Type identifier for the classification.
- Specified by:
typein interfaceLegacyClassification.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public LegacyClassification._FinalStage description(@NotNull java.lang.String description)
A detailed description of the classification.
A detailed description of the classification.
- Specified by:
descriptionin interfaceLegacyClassification.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public LegacyClassification build()
- Specified by:
buildin interfaceLegacyClassification._FinalStage
-
-