NodeCounts Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. NodeCounts
- com.
public class NodeCounts
The number of nodes in each node state.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
creating()
Get the creating value. |
int |
idle()
Get the idle value. |
int |
leavingPool()
Get the leavingPool value. |
int |
offline()
Get the offline value. |
int |
preempted()
Get the preempted value. |
int |
rebooting()
Get the rebooting value. |
int |
reimaging()
Get the reimaging value. |
int |
running()
Get the running value. |
int |
starting()
Get the starting value. |
int |
startTaskFailed()
Get the startTaskFailed value. |
int |
total()
Get the total value. |
int |
unknown()
Get the unknown value. |
int |
unusable()
Get the unusable value. |
int |
waitingForStartTask()
Get the waitingForStartTask value. |
Node |
withCreating(int creating)
Set the creating value. |
Node |
withIdle(int idle)
Set the idle value. |
Node |
withLeavingPool(int leavingPool)
Set the leavingPool value. |
Node |
withOffline(int offline)
Set the offline value. |
Node |
withPreempted(int preempted)
Set the preempted value. |
Node |
withRebooting(int rebooting)
Set the rebooting value. |
Node |
withReimaging(int reimaging)
Set the reimaging value. |
Node |
withRunning(int running)
Set the running value. |
Node |
withStarting(int starting)
Set the starting value. |
Node |
withStartTaskFailed(int startTaskFailed)
Set the startTaskFailed value. |
Node |
withTotal(int total)
Set the total value. |
Node |
withUnknown(int unknown)
Set the unknown value. |
Node |
withUnusable(int unusable)
Set the unusable value. |
Node |
withWaitingForStartTask(int waitingForStartTask)
Set the waitingForStartTask value. |
Method Details
creating
public int creating()
Get the creating value.
Returns:
idle
public int idle()
Get the idle value.
Returns:
leavingPool
public int leavingPool()
Get the leavingPool value.
Returns:
offline
public int offline()
Get the offline value.
Returns:
preempted
public int preempted()
Get the preempted value.
Returns:
rebooting
public int rebooting()
Get the rebooting value.
Returns:
reimaging
public int reimaging()
Get the reimaging value.
Returns:
running
public int running()
Get the running value.
Returns:
starting
public int starting()
Get the starting value.
Returns:
startTaskFailed
public int startTaskFailed()
Get the startTaskFailed value.
Returns:
total
public int total()
Get the total value.
Returns:
unknown
public int unknown()
Get the unknown value.
Returns:
unusable
public int unusable()
Get the unusable value.
Returns:
waitingForStartTask
public int waitingForStartTask()
Get the waitingForStartTask value.
Returns:
withCreating
public NodeCounts withCreating(int creating)
Set the creating value.
Parameters:
Returns:
withIdle
public NodeCounts withIdle(int idle)
Set the idle value.
Parameters:
Returns:
withLeavingPool
public NodeCounts withLeavingPool(int leavingPool)
Set the leavingPool value.
Parameters:
Returns:
withOffline
public NodeCounts withOffline(int offline)
Set the offline value.
Parameters:
Returns:
withPreempted
public NodeCounts withPreempted(int preempted)
Set the preempted value.
Parameters:
Returns:
withRebooting
public NodeCounts withRebooting(int rebooting)
Set the rebooting value.
Parameters:
Returns:
withReimaging
public NodeCounts withReimaging(int reimaging)
Set the reimaging value.
Parameters:
Returns:
withRunning
public NodeCounts withRunning(int running)
Set the running value.
Parameters:
Returns:
withStarting
public NodeCounts withStarting(int starting)
Set the starting value.
Parameters:
Returns:
withStartTaskFailed
public NodeCounts withStartTaskFailed(int startTaskFailed)
Set the startTaskFailed value.
Parameters:
Returns:
withTotal
public NodeCounts withTotal(int total)
Set the total value.
Parameters:
Returns:
withUnknown
public NodeCounts withUnknown(int unknown)
Set the unknown value.
Parameters:
Returns:
withUnusable
public NodeCounts withUnusable(int unusable)
Set the unusable value.
Parameters:
Returns:
withWaitingForStartTask
public NodeCounts withWaitingForStartTask(int waitingForStartTask)
Set the waitingForStartTask value.
Parameters:
Returns:
Applies to
Azure SDK for Java