Class Processor.Builder

    • Method Detail

      • object

        public Processor.IdStage object​(@NotNull
                                        java.lang.String object)

        The type of response. In this case, it will always be "document_processor".

        The type of response. In this case, it will always be "document_processor".

        Specified by:
        object in interface Processor.ObjectStage
        Returns:
        Reference to this so that method calls can be chained together.
      • id

        public Processor.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:
        id in interface Processor.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • name

        public Processor.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:
        name in interface Processor.NameStage
        Returns:
        Reference to this so that method calls can be chained together.
      • createdAt

        public Processor.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:
        createdAt in interface Processor.CreatedAtStage
        Returns:
        Reference to this so that method calls can be chained together.
      • updatedAt

        public Processor.DraftVersionStage 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:
        updatedAt in interface Processor.UpdatedAtStage
        Returns:
        Reference to this so that method calls can be chained together.