Package ai.extend.types
Class Splitter.Builder
- java.lang.Object
-
- ai.extend.types.Splitter.Builder
-
- All Implemented Interfaces:
Splitter._FinalStage,Splitter.CreatedAtStage,Splitter.DraftVersionStage,Splitter.IdStage,Splitter.NameStage,Splitter.UpdatedAtStage
- Enclosing class:
- Splitter
public static final class Splitter.Builder extends java.lang.Object implements Splitter.IdStage, Splitter.NameStage, Splitter.CreatedAtStage, Splitter.UpdatedAtStage, Splitter.DraftVersionStage, Splitter._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Splitterbuild()Splitter.UpdatedAtStagecreatedAt(java.time.OffsetDateTime createdAt)Splitter._FinalStagedraftVersion(SplitterVersion draftVersion)The draft version of the splitter.Splitter.Builderfrom(Splitter other)Splitter.NameStageid(java.lang.String id)The ID of the splitter.Splitter.CreatedAtStagename(java.lang.String name)The name of the splitter.Splitter.DraftVersionStageupdatedAt(java.time.OffsetDateTime updatedAt)
-
-
-
Method Detail
-
from
public Splitter.Builder from(Splitter other)
- Specified by:
fromin interfaceSplitter.IdStage
-
id
public Splitter.NameStage id(@NotNull java.lang.String id)
The ID of the splitter.
Example:
"spl_Xj8mK2pL9nR4vT7qY5wZ"The ID of the splitter.
Example:
"spl_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
idin interfaceSplitter.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public Splitter.CreatedAtStage name(@NotNull java.lang.String name)
The name of the splitter.
Example:
"Invoice Packet Splitter"The name of the splitter.
Example:
"Invoice Packet Splitter"- Specified by:
namein interfaceSplitter.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public Splitter.UpdatedAtStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceSplitter.CreatedAtStage
-
updatedAt
public Splitter.DraftVersionStage updatedAt(@NotNull java.time.OffsetDateTime updatedAt)
- Specified by:
updatedAtin interfaceSplitter.UpdatedAtStage
-
draftVersion
public Splitter._FinalStage draftVersion(@NotNull SplitterVersion draftVersion)
The draft version of the splitter. This is the editable version in the Extend dashboard.
The draft version of the splitter. This is the editable version in the Extend dashboard.
- Specified by:
draftVersionin interfaceSplitter.DraftVersionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Splitter build()
- Specified by:
buildin interfaceSplitter._FinalStage
-
-