Interface UpdatedSessionActionInfo.Builder

  • Method Details

    • completedStatus

      UpdatedSessionActionInfo.Builder completedStatus(String completedStatus)

      The status of the session upon completion.

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

      UpdatedSessionActionInfo.Builder completedStatus(CompletedStatus completedStatus)

      The status of the session upon completion.

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

      UpdatedSessionActionInfo.Builder processExitCode(Integer processExitCode)

      The process exit code. The default Deadline Cloud worker agent converts unsigned 32-bit exit codes to signed 32-bit exit codes.

      Parameters:
      processExitCode - The process exit code. The default Deadline Cloud worker agent converts unsigned 32-bit exit codes to signed 32-bit exit codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • progressMessage

      UpdatedSessionActionInfo.Builder progressMessage(String progressMessage)

      A message to indicate the progress of the updated session action.

      Parameters:
      progressMessage - A message to indicate the progress of the updated session action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The date and time the resource started running.

      Parameters:
      startedAt - The date and time the resource started running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The date and time the resource ended running.

      Parameters:
      endedAt - The date and time the resource ended running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The updated time.

      Parameters:
      updatedAt - The updated time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • progressPercent

      UpdatedSessionActionInfo.Builder progressPercent(Float progressPercent)

      The percentage completed.

      Parameters:
      progressPercent - The percentage completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifests

      A list of output manifest properties reported by the worker agent, with each entry corresponding to a manifest property in the job.

      Parameters:
      manifests - A list of output manifest properties reported by the worker agent, with each entry corresponding to a manifest property in the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifests

      A list of output manifest properties reported by the worker agent, with each entry corresponding to a manifest property in the job.

      Parameters:
      manifests - A list of output manifest properties reported by the worker agent, with each entry corresponding to a manifest property in the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifests

      A list of output manifest properties reported by the worker agent, with each entry corresponding to a manifest property in the job.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to manifests(List<TaskRunManifestPropertiesRequest>).

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