Interface GetSessionActionResponse.Builder

  • Method Details

    • sessionActionId

      GetSessionActionResponse.Builder sessionActionId(String sessionActionId)

      The session action ID.

      Parameters:
      sessionActionId - The session action ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the session action.

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

      The status of the session action.

      Parameters:
      status - The status of the session action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • workerUpdatedAt

      GetSessionActionResponse.Builder workerUpdatedAt(Instant workerUpdatedAt)

      The Linux timestamp of the date and time the session action was last updated.

      Parameters:
      workerUpdatedAt - The Linux timestamp of the date and time the session action was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • progressPercent

      GetSessionActionResponse.Builder progressPercent(Float progressPercent)

      The percentage completed for a session action.

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

      The session ID for the session action.

      Parameters:
      sessionId - The session ID for the session action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processExitCode

      GetSessionActionResponse.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

      GetSessionActionResponse.Builder progressMessage(String progressMessage)

      The message that communicates the progress of the session action.

      Parameters:
      progressMessage - The message that communicates the progress of the session action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      The session action definition.

      Parameters:
      definition - The session action definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • definition

      The session action definition.

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

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

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

      The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.

      Parameters:
      acquiredLimits - The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acquiredLimits

      GetSessionActionResponse.Builder acquiredLimits(AcquiredLimit... acquiredLimits)

      The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.

      Parameters:
      acquiredLimits - The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acquiredLimits

      The limits and their amounts acquired during a session action. If no limits were acquired during the session, this field isn't returned.

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

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

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