TaskCountsResult Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskCountsResult
- com.
public class TaskCountsResult
The Task and TaskSlot counts for a Job.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskCountsResult() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Task |
taskCounts()
Get the task |
Task |
taskSlotCounts()
Get the task |
Task |
withTaskCounts(TaskCounts taskCounts)
Set the task |
Task |
withTaskSlotCounts(TaskSlotCounts taskSlotCounts)
Set the task |
Methods inherited from java.lang.Object
Constructor Details
TaskCountsResult
public TaskCountsResult()
Method Details
taskCounts
public TaskCounts taskCounts()
Get the taskCounts value.
Returns:
the taskCounts value
taskSlotCounts
public TaskSlotCounts taskSlotCounts()
Get the taskSlotCounts value.
Returns:
the taskSlotCounts value
withTaskCounts
public TaskCountsResult withTaskCounts(TaskCounts taskCounts)
Set the taskCounts value.
Parameters:
taskCounts
- the taskCounts value to set
Returns:
the TaskCountsResult object itself.
withTaskSlotCounts
public TaskCountsResult withTaskSlotCounts(TaskSlotCounts taskSlotCounts)
Set the taskSlotCounts value.
Parameters:
taskSlotCounts
- the taskSlotCounts value to set
Returns:
the TaskCountsResult object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java