Class ExtractorVersionSummary.Builder
- java.lang.Object
-
- ai.extend.types.ExtractorVersionSummary.Builder
-
- All Implemented Interfaces:
ExtractorVersionSummary._FinalStage,ExtractorVersionSummary.CreatedAtStage,ExtractorVersionSummary.ExtractorIdStage,ExtractorVersionSummary.IdStage,ExtractorVersionSummary.VersionStage
- Enclosing class:
- ExtractorVersionSummary
public static final class ExtractorVersionSummary.Builder extends java.lang.Object implements ExtractorVersionSummary.IdStage, ExtractorVersionSummary.VersionStage, ExtractorVersionSummary.ExtractorIdStage, ExtractorVersionSummary.CreatedAtStage, ExtractorVersionSummary._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtractorVersionSummarybuild()ExtractorVersionSummary._FinalStagecreatedAt(java.time.OffsetDateTime createdAt)ExtractorVersionSummary._FinalStagecreatedBy(Nullable<CreatedBy> createdBy)ExtractorVersionSummary._FinalStagecreatedBy(CreatedBy createdBy)ExtractorVersionSummary._FinalStagecreatedBy(java.util.Optional<CreatedBy> createdBy)ExtractorVersionSummary._FinalStagedescription(Nullable<java.lang.String> description)A description of this version of the extractor.ExtractorVersionSummary._FinalStagedescription(java.lang.String description)A description of this version of the extractor.ExtractorVersionSummary._FinalStagedescription(java.util.Optional<java.lang.String> description)A description of this version of the extractor.ExtractorVersionSummary.CreatedAtStageextractorId(java.lang.String extractorId)The ID of the extractor that this version belongs to.ExtractorVersionSummary.Builderfrom(ExtractorVersionSummary other)ExtractorVersionSummary.VersionStageid(java.lang.String id)The unique identifier for this version of the extractor.ExtractorVersionSummary.ExtractorIdStageversion(java.lang.String version)The version number or identifier for this specific version of the extractor.
-
-
-
Method Detail
-
from
public ExtractorVersionSummary.Builder from(ExtractorVersionSummary other)
- Specified by:
fromin interfaceExtractorVersionSummary.IdStage
-
id
public ExtractorVersionSummary.VersionStage id(@NotNull java.lang.String id)
The unique identifier for this version of the extractor.
Example:
"exv_xK9mLPqRtN3vS8wF5hB2cQ"The unique identifier for this version of the extractor.
Example:
"exv_xK9mLPqRtN3vS8wF5hB2cQ"- Specified by:
idin interfaceExtractorVersionSummary.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
public ExtractorVersionSummary.ExtractorIdStage version(@NotNull java.lang.String version)
The version number or identifier for this specific version of the extractor. The draft version will have version="draft".
Examples:
"1.0","2.1","draft"The version number or identifier for this specific version of the extractor. The draft version will have version="draft".
Examples:
"1.0","2.1","draft"- Specified by:
versionin interfaceExtractorVersionSummary.VersionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
extractorId
public ExtractorVersionSummary.CreatedAtStage extractorId(@NotNull java.lang.String extractorId)
The ID of the extractor that this version belongs to.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"The ID of the extractor that this version belongs to.
Example:
"ex_Xj8mK2pL9nR4vT7qY5wZ"- Specified by:
extractorIdin interfaceExtractorVersionSummary.ExtractorIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public ExtractorVersionSummary._FinalStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceExtractorVersionSummary.CreatedAtStage
-
createdBy
public ExtractorVersionSummary._FinalStage createdBy(Nullable<CreatedBy> createdBy)
- Specified by:
createdByin interfaceExtractorVersionSummary._FinalStage
-
createdBy
public ExtractorVersionSummary._FinalStage createdBy(CreatedBy createdBy)
- Specified by:
createdByin interfaceExtractorVersionSummary._FinalStage
-
createdBy
public ExtractorVersionSummary._FinalStage createdBy(java.util.Optional<CreatedBy> createdBy)
- Specified by:
createdByin interfaceExtractorVersionSummary._FinalStage
-
description
public ExtractorVersionSummary._FinalStage description(Nullable<java.lang.String> description)
A description of this version of the extractor.
Example:
"Updated extraction fields for new invoice format"- Specified by:
descriptionin interfaceExtractorVersionSummary._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public ExtractorVersionSummary._FinalStage description(java.lang.String description)
A description of this version of the extractor.
Example:
"Updated extraction fields for new invoice format"- Specified by:
descriptionin interfaceExtractorVersionSummary._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public ExtractorVersionSummary._FinalStage description(java.util.Optional<java.lang.String> description)
A description of this version of the extractor.
Example:
"Updated extraction fields for new invoice format"- Specified by:
descriptionin interfaceExtractorVersionSummary._FinalStage
-
build
public ExtractorVersionSummary build()
- Specified by:
buildin interfaceExtractorVersionSummary._FinalStage
-
-