Interface GetTaskResponse.Builder

    • Method Detail

      • createdAt

        GetTaskResponse.Builder createdAt​(Instant createdAt)

        The date and time the resource was created.

        Parameters:
        createdAt - The date and time the resource was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        GetTaskResponse.Builder createdBy​(String createdBy)

        The user or system that created this resource.

        Parameters:
        createdBy - The user or system that created this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endedAt

        GetTaskResponse.Builder endedAt​(Instant 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.
      • failureRetryCount

        GetTaskResponse.Builder failureRetryCount​(Integer failureRetryCount)

        The number of times that the task failed and was retried.

        Parameters:
        failureRetryCount - The number of times that the task failed and was retried.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestSessionActionId

        GetTaskResponse.Builder latestSessionActionId​(String latestSessionActionId)

        The latest session ID for the task.

        Parameters:
        latestSessionActionId - The latest session ID for the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        GetTaskResponse.Builder parameters​(Map<String,​TaskParameterValue> parameters)

        The parameters for the task.

        Parameters:
        parameters - The parameters for the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runStatus

        GetTaskResponse.Builder runStatus​(String runStatus)

        The run status for the task.

        Parameters:
        runStatus - The run status for the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskRunStatus, TaskRunStatus
      • startedAt

        GetTaskResponse.Builder startedAt​(Instant 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.
      • targetRunStatus

        GetTaskResponse.Builder targetRunStatus​(String targetRunStatus)

        The run status with which to start the task.

        Parameters:
        targetRunStatus - The run status with which to start the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskTargetRunStatus, TaskTargetRunStatus
      • taskId

        GetTaskResponse.Builder taskId​(String taskId)

        The task ID.

        Parameters:
        taskId - The task ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetTaskResponse.Builder updatedAt​(Instant updatedAt)

        The date and time the resource was updated.

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

        GetTaskResponse.Builder updatedBy​(String updatedBy)

        The user or system that updated this resource.

        Parameters:
        updatedBy - The user or system that updated this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.