Class LegacyListProcessorsProcessor.Builder
- java.lang.Object
-
- ai.extend.types.LegacyListProcessorsProcessor.Builder
-
- All Implemented Interfaces:
LegacyListProcessorsProcessor._FinalStage,LegacyListProcessorsProcessor.CreatedAtStage,LegacyListProcessorsProcessor.IdStage,LegacyListProcessorsProcessor.NameStage,LegacyListProcessorsProcessor.TypeStage,LegacyListProcessorsProcessor.UpdatedAtStage
- Enclosing class:
- LegacyListProcessorsProcessor
public static final class LegacyListProcessorsProcessor.Builder extends java.lang.Object implements LegacyListProcessorsProcessor.IdStage, LegacyListProcessorsProcessor.NameStage, LegacyListProcessorsProcessor.TypeStage, LegacyListProcessorsProcessor.CreatedAtStage, LegacyListProcessorsProcessor.UpdatedAtStage, LegacyListProcessorsProcessor._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public LegacyListProcessorsProcessor.Builder from(LegacyListProcessorsProcessor other)
- Specified by:
fromin interfaceLegacyListProcessorsProcessor.IdStage
-
id
public LegacyListProcessorsProcessor.NameStage id(@NotNull java.lang.String id)
The ID of the processor.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"The ID of the processor.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
idin interfaceLegacyListProcessorsProcessor.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public LegacyListProcessorsProcessor.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 interfaceLegacyListProcessorsProcessor.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
public LegacyListProcessorsProcessor.CreatedAtStage type(@NotNull LegacyProcessorType type)
- Specified by:
typein interfaceLegacyListProcessorsProcessor.TypeStage
-
createdAt
public LegacyListProcessorsProcessor.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 interfaceLegacyListProcessorsProcessor.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
public LegacyListProcessorsProcessor._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 interfaceLegacyListProcessorsProcessor.UpdatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllVersions
public LegacyListProcessorsProcessor._FinalStage addAllVersions(java.util.List<LegacyListProcessorsProcessorVersion> versions)
Array of all versions for this processor
- Specified by:
addAllVersionsin interfaceLegacyListProcessorsProcessor._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addVersions
public LegacyListProcessorsProcessor._FinalStage addVersions(LegacyListProcessorsProcessorVersion versions)
Array of all versions for this processor
- Specified by:
addVersionsin interfaceLegacyListProcessorsProcessor._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
versions
public LegacyListProcessorsProcessor._FinalStage versions(java.util.List<LegacyListProcessorsProcessorVersion> versions)
Array of all versions for this processor
- Specified by:
versionsin interfaceLegacyListProcessorsProcessor._FinalStage
-
build
public LegacyListProcessorsProcessor build()
- Specified by:
buildin interfaceLegacyListProcessorsProcessor._FinalStage
-
-