Class TaskInformation
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.TaskInformation
-
public class TaskInformation extends Object
Information about a Task running on a Compute Node.
-
-
Constructor Summary
Constructors Constructor Description TaskInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskExecutionInformation
executionInfo()
Get the executionInfo value.String
jobId()
Get the jobId value.Integer
subtaskId()
Get the subtaskId value.String
taskId()
Get the taskId value.TaskState
taskState()
Get possible values include: 'active', 'preparing', 'running', 'completed'.String
taskUrl()
Get the taskUrl value.TaskInformation
withExecutionInfo(TaskExecutionInformation executionInfo)
Set the executionInfo value.TaskInformation
withJobId(String jobId)
Set the jobId value.TaskInformation
withSubtaskId(Integer subtaskId)
Set the subtaskId value.TaskInformation
withTaskId(String taskId)
Set the taskId value.TaskInformation
withTaskState(TaskState taskState)
Set possible values include: 'active', 'preparing', 'running', 'completed'.TaskInformation
withTaskUrl(String taskUrl)
Set the taskUrl value.
-
-
-
Method Detail
-
taskUrl
public String taskUrl()
Get the taskUrl value.- Returns:
- the taskUrl value
-
withTaskUrl
public TaskInformation withTaskUrl(String taskUrl)
Set the taskUrl value.- Parameters:
taskUrl
- the taskUrl value to set- Returns:
- the TaskInformation object itself.
-
jobId
public String jobId()
Get the jobId value.- Returns:
- the jobId value
-
withJobId
public TaskInformation withJobId(String jobId)
Set the jobId value.- Parameters:
jobId
- the jobId value to set- Returns:
- the TaskInformation object itself.
-
taskId
public String taskId()
Get the taskId value.- Returns:
- the taskId value
-
withTaskId
public TaskInformation withTaskId(String taskId)
Set the taskId value.- Parameters:
taskId
- the taskId value to set- Returns:
- the TaskInformation object itself.
-
subtaskId
public Integer subtaskId()
Get the subtaskId value.- Returns:
- the subtaskId value
-
withSubtaskId
public TaskInformation withSubtaskId(Integer subtaskId)
Set the subtaskId value.- Parameters:
subtaskId
- the subtaskId value to set- Returns:
- the TaskInformation object itself.
-
taskState
public TaskState taskState()
Get possible values include: 'active', 'preparing', 'running', 'completed'.- Returns:
- the taskState value
-
withTaskState
public TaskInformation withTaskState(TaskState taskState)
Set possible values include: 'active', 'preparing', 'running', 'completed'.- Parameters:
taskState
- the taskState value to set- Returns:
- the TaskInformation object itself.
-
executionInfo
public TaskExecutionInformation executionInfo()
Get the executionInfo value.- Returns:
- the executionInfo value
-
withExecutionInfo
public TaskInformation withExecutionInfo(TaskExecutionInformation executionInfo)
Set the executionInfo value.- Parameters:
executionInfo
- the executionInfo value to set- Returns:
- the TaskInformation object itself.
-
-