Class EvaluationSet.Builder

    • Method Detail

      • object

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

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

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

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

        public EvaluationSet.NameStage id​(@NotNull
                                          java.lang.String id)

        The ID of the evaluation set.

        Example: "ev_2LcgeY_mp2T5yPaEuq5Lw"

        The ID of the evaluation set.

        Example: "ev_2LcgeY_mp2T5yPaEuq5Lw"

        Specified by:
        id in interface EvaluationSet.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • name

        public EvaluationSet.DescriptionStage name​(@NotNull
                                                   java.lang.String name)

        The name of the evaluation set.

        Example: "Invoice Processing Test Set"

        The name of the evaluation set.

        Example: "Invoice Processing Test Set"

        Specified by:
        name in interface EvaluationSet.NameStage
        Returns:
        Reference to this so that method calls can be chained together.
      • description

        public EvaluationSet.ProcessorIdStage description​(@NotNull
                                                          java.lang.String description)

        A description of the evaluation set.

        Example: "Q4 2023 vendor invoices for accuracy testing"

        A description of the evaluation set.

        Example: "Q4 2023 vendor invoices for accuracy testing"

        Specified by:
        description in interface EvaluationSet.DescriptionStage
        Returns:
        Reference to this so that method calls can be chained together.
      • processorId

        public EvaluationSet.CreatedAtStage processorId​(@NotNull
                                                        java.lang.String processorId)

        The ID of the processor associated with this evaluation set.

        Example: "dp_Xj8mK2pL9nR4vT7qY5wZ"

        The ID of the processor associated with this evaluation set.

        Example: "dp_Xj8mK2pL9nR4vT7qY5wZ"

        Specified by:
        processorId in interface EvaluationSet.ProcessorIdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • createdAt

        public EvaluationSet.UpdatedAtStage createdAt​(@NotNull
                                                      java.time.OffsetDateTime createdAt)

        The time (in UTC) at which the evaluation set was created. Will follow the RFC 3339 format.

        Example: "2024-03-21T15:30:00Z"

        The time (in UTC) at which the evaluation set was created. Will follow the RFC 3339 format.

        Example: "2024-03-21T15:30:00Z"

        Specified by:
        createdAt in interface EvaluationSet.CreatedAtStage
        Returns:
        Reference to this so that method calls can be chained together.
      • updatedAt

        public EvaluationSet._FinalStage updatedAt​(@NotNull
                                                   java.time.OffsetDateTime updatedAt)

        The time (in UTC) at which the evaluation set was last updated. Will follow the RFC 3339 format.

        Example: "2024-03-21T16:45:00Z"

        The time (in UTC) at which the evaluation set was last updated. Will follow the RFC 3339 format.

        Example: "2024-03-21T16:45:00Z"

        Specified by:
        updatedAt in interface EvaluationSet.UpdatedAtStage
        Returns:
        Reference to this so that method calls can be chained together.