Class StepRunStep.Builder

    • Method Detail

      • object

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

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

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

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

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

        The ID of the workflow step.

        Example: "step_xKm9pNv3qWsY_jL2tR5Dh"

        The ID of the workflow step.

        Example: "step_xKm9pNv3qWsY_jL2tR5Dh"

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

        public StepRunStep.TypeStage name​(@NotNull
                                          java.lang.String name)

        The name of the workflow step.

        Example: "Validate Invoice Total"

        The name of the workflow step.

        Example: "Validate Invoice Total"

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

        public StepRunStep._FinalStage type​(@NotNull
                                            StepRunStepType type)

        The type of workflow step:

        • "EXTERNAL_DATA_VALIDATION" - Validates data against an external source
        • "RULE_VALIDATION" - Validates data against defined rules

        The type of workflow step:

        • "EXTERNAL_DATA_VALIDATION" - Validates data against an external source
        • "RULE_VALIDATION" - Validates data against defined rules
        Specified by:
        type in interface StepRunStep.TypeStage
        Returns:
        Reference to this so that method calls can be chained together.