Class ListProcessorsProcessor.Builder
- java.lang.Object
-
- ai.extend.types.ListProcessorsProcessor.Builder
-
- All Implemented Interfaces:
ListProcessorsProcessor._FinalStage,ListProcessorsProcessor.CreatedAtStage,ListProcessorsProcessor.IdStage,ListProcessorsProcessor.NameStage,ListProcessorsProcessor.TypeStage,ListProcessorsProcessor.UpdatedAtStage
- Enclosing class:
- ListProcessorsProcessor
public static final class ListProcessorsProcessor.Builder extends java.lang.Object implements ListProcessorsProcessor.IdStage, ListProcessorsProcessor.NameStage, ListProcessorsProcessor.TypeStage, ListProcessorsProcessor.CreatedAtStage, ListProcessorsProcessor.UpdatedAtStage, ListProcessorsProcessor._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProcessorsProcessor._FinalStageaddAllVersions(java.util.List<ListProcessorsProcessorVersion> versions)Array of all versions for this processorListProcessorsProcessor._FinalStageaddVersions(ListProcessorsProcessorVersion versions)Array of all versions for this processorListProcessorsProcessorbuild()ListProcessorsProcessor.UpdatedAtStagecreatedAt(java.time.OffsetDateTime createdAt)The time (in UTC) at which the processor was created.ListProcessorsProcessor.Builderfrom(ListProcessorsProcessor other)ListProcessorsProcessor.NameStageid(java.lang.String id)The ID of the processor.ListProcessorsProcessor.TypeStagename(java.lang.String name)The name of the processor.ListProcessorsProcessor.CreatedAtStagetype(ProcessorType type)ListProcessorsProcessor._FinalStageupdatedAt(java.time.OffsetDateTime updatedAt)The time (in UTC) at which the processor was last updated.ListProcessorsProcessor._FinalStageversions(java.util.List<ListProcessorsProcessorVersion> versions)Array of all versions for this processor
-
-
-
Method Detail
-
from
public ListProcessorsProcessor.Builder from(ListProcessorsProcessor other)
- Specified by:
fromin interfaceListProcessorsProcessor.IdStage
-
id
public ListProcessorsProcessor.NameStage id(@NotNull java.lang.String id)
The ID of the processor.
Example:
"dp_Xj8mK2pL9nR4vT7qY5wZ"The ID of the processor.
Example:
"dp_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
idin interfaceListProcessorsProcessor.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public ListProcessorsProcessor.TypeStage name(@NotNull java.lang.String name)
The name of the processor.
Example:
"Invoice Processor"The name of the processor.
Example:
"Invoice Processor"- Specified by:
namein interfaceListProcessorsProcessor.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public ListProcessorsProcessor.CreatedAtStage type(@NotNull ProcessorType type)
- Specified by:
typein interfaceListProcessorsProcessor.TypeStage
-
createdAt
public ListProcessorsProcessor.UpdatedAtStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
The time (in UTC) at which the processor was created. Will follow the RFC 3339 format.
Example:
"2024-03-21T15:30:00Z"The time (in UTC) at which the processor was created. Will follow the RFC 3339 format.
Example:
"2024-03-21T15:30:00Z"- Specified by:
createdAtin interfaceListProcessorsProcessor.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public ListProcessorsProcessor._FinalStage updatedAt(@NotNull java.time.OffsetDateTime updatedAt)
The time (in UTC) at which the processor was last updated. Will follow the RFC 3339 format.
Example:
"2024-03-21T16:45:00Z"The time (in UTC) at which the processor was last updated. Will follow the RFC 3339 format.
Example:
"2024-03-21T16:45:00Z"- Specified by:
updatedAtin interfaceListProcessorsProcessor.UpdatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllVersions
public ListProcessorsProcessor._FinalStage addAllVersions(java.util.List<ListProcessorsProcessorVersion> versions)
Array of all versions for this processor
- Specified by:
addAllVersionsin interfaceListProcessorsProcessor._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addVersions
public ListProcessorsProcessor._FinalStage addVersions(ListProcessorsProcessorVersion versions)
Array of all versions for this processor
- Specified by:
addVersionsin interfaceListProcessorsProcessor._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
versions
public ListProcessorsProcessor._FinalStage versions(java.util.List<ListProcessorsProcessorVersion> versions)
Array of all versions for this processor
- Specified by:
versionsin interfaceListProcessorsProcessor._FinalStage
-
build
public ListProcessorsProcessor build()
- Specified by:
buildin interfaceListProcessorsProcessor._FinalStage
-
-