Class Workflow.Builder

    • Method Detail

      • object

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

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

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

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

        public Workflow.VersionStage id​(@NotNull
                                        java.lang.String id)

        The ID of the workflow.

        Example: "workflow_BMlfq_yWM3sT-ZzvCnA3f"

        The ID of the workflow.

        Example: "workflow_BMlfq_yWM3sT-ZzvCnA3f"

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

        public Workflow.NameStage version​(@NotNull
                                          java.lang.String version)

        The version of the workflow.

        Examples: "3", "draft"

        The version of the workflow.

        Examples: "3", "draft"

        Specified by:
        version in interface Workflow.VersionStage
        Returns:
        Reference to this so that method calls can be chained together.
      • name

        public Workflow._FinalStage name​(@NotNull
                                         java.lang.String name)

        The name of the workflow.

        Example: "Invoice Processing"

        The name of the workflow.

        Example: "Invoice Processing"

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