Class WorkflowRun.WorkflowRunBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>

Enclosing class:
WorkflowRun

public abstract static class WorkflowRun.WorkflowRunBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • WorkflowRunBuilder

      public WorkflowRunBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for WorkflowRuns.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
      Returns:
      this.
    • workflowRunActionChoice

      public B workflowRunActionChoice(String workflowRunActionChoice)
    • workflowRunActionChoices

      public B workflowRunActionChoices(Collection<? extends String> workflowRunActionChoices)
    • clearWorkflowRunActionChoices

      public B clearWorkflowRunActionChoices()
    • workflowRunComment

      public B workflowRunComment(String workflowRunComment)
      The comment added by the requester
      Returns:
      this.
    • workflowRunConfig

      public B workflowRunConfig(String workflowRunConfig)
      Details of the approval workflow run.
      Returns:
      this.
    • workflowRunCreatedBy

      public B workflowRunCreatedBy(String workflowRunCreatedBy)
      Username of the user who created this workflow run.
      Returns:
      this.
    • workflowRunDeletedAt

      public B workflowRunDeletedAt(Long workflowRunDeletedAt)
      Deletion time of this workflow run.
      Returns:
      this.
    • workflowRunExpiresAt

      public B workflowRunExpiresAt(Long workflowRunExpiresAt)
      Time at which this run will expire.
      Returns:
      this.
    • workflowRunOnAssetGuid

      public B workflowRunOnAssetGuid(String workflowRunOnAssetGuid)
      The asset for which this run was created.
      Returns:
      this.
    • workflowRunStatus

      public B workflowRunStatus(WorkflowRunStatus workflowRunStatus)
      Status of the run.
      Returns:
      this.
    • workflowRunType

      public B workflowRunType(WorkflowRunType workflowRunType)
      Type of the workflow from which this run was created.
      Returns:
      this.
    • workflowRunUpdatedBy

      public B workflowRunUpdatedBy(String workflowRunUpdatedBy)
      Username of the user who updated this workflow run.
      Returns:
      this.
    • workflowRunWorkflowGuid

      public B workflowRunWorkflowGuid(String workflowRunWorkflowGuid)
      GUID of the workflow from which this run was created.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends WorkflowRun,B extends WorkflowRun.WorkflowRunBuilder<C,B>>