Interface WorkflowSummary.Builder

  • Method Details

    • id

      The system-generated unique ID of a workflow.

      Parameters:
      id - The system-generated unique ID of a workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the workflow.

      Parameters:
      name - The name of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceRepositoryName

      WorkflowSummary.Builder sourceRepositoryName(String sourceRepositoryName)

      The name of the source repository where the workflow definition file is stored.

      Parameters:
      sourceRepositoryName - The name of the source repository where the workflow definition file is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceBranchName

      WorkflowSummary.Builder sourceBranchName(String sourceBranchName)

      The name of the branch of the source repository where the workflow definition file is stored.

      Parameters:
      sourceBranchName - The name of the branch of the source repository where the workflow definition file is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      Information about the workflow definition file.

      Parameters:
      definition - Information about the workflow definition file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      Information about the workflow definition file.

      This is a convenience method that creates an instance of the WorkflowDefinitionSummary.Builder avoiding the need to create one manually via WorkflowDefinitionSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definition(WorkflowDefinitionSummary).

      Parameters:
      definition - a consumer that will call methods on WorkflowDefinitionSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      WorkflowSummary.Builder createdTime(Instant createdTime)

      The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339

      Parameters:
      createdTime - The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      WorkflowSummary.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339

      Parameters:
      lastUpdatedTime - The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runMode

      WorkflowSummary.Builder runMode(String runMode)

      The run mode of the workflow.

      Parameters:
      runMode - The run mode of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runMode

      The run mode of the workflow.

      Parameters:
      runMode - The run mode of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the workflow.

      Parameters:
      status - The status of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the workflow.

      Parameters:
      status - The status of the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: