NodeCounts Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.NodeCounts

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.

NodeCounts withCreating(int creating)

Set the creating value.

NodeCounts withIdle(int idle)

Set the idle value.

NodeCounts withLeavingPool(int leavingPool)

Set the leavingPool value.

NodeCounts withOffline(int offline)

Set the offline value.

NodeCounts withPreempted(int preempted)

Set the preempted value.

NodeCounts withRebooting(int rebooting)

Set the rebooting value.

NodeCounts withReimaging(int reimaging)

Set the reimaging value.

NodeCounts withRunning(int running)

Set the running value.

NodeCounts withStarting(int starting)

Set the starting value.

NodeCounts withStartTaskFailed(int startTaskFailed)

Set the startTaskFailed value.

NodeCounts withTotal(int total)

Set the total value.

NodeCounts withUnknown(int unknown)

Set the unknown value.

NodeCounts withUnusable(int unusable)

Set the unusable value.

NodeCounts withWaitingForStartTask(int waitingForStartTask)

Set the waitingForStartTask value.

Method Details

creating

public int creating()

Get the creating value.

Returns:

the creating value

idle

public int idle()

Get the idle value.

Returns:

the idle value

leavingPool

public int leavingPool()

Get the leavingPool value.

Returns:

the leavingPool value

offline

public int offline()

Get the offline value.

Returns:

the offline value

preempted

public int preempted()

Get the preempted value.

Returns:

the preempted value

rebooting

public int rebooting()

Get the rebooting value.

Returns:

the rebooting value

reimaging

public int reimaging()

Get the reimaging value.

Returns:

the reimaging value

running

public int running()

Get the running value.

Returns:

the running value

starting

public int starting()

Get the starting value.

Returns:

the starting value

startTaskFailed

public int startTaskFailed()

Get the startTaskFailed value.

Returns:

the startTaskFailed value

total

public int total()

Get the total value.

Returns:

the total value

unknown

public int unknown()

Get the unknown value.

Returns:

the unknown value

unusable

public int unusable()

Get the unusable value.

Returns:

the unusable value

waitingForStartTask

public int waitingForStartTask()

Get the waitingForStartTask value.

Returns:

the waitingForStartTask value

withCreating

public NodeCounts withCreating(int creating)

Set the creating value.

Parameters:

creating - the creating value to set

Returns:

the NodeCounts object itself.

withIdle

public NodeCounts withIdle(int idle)

Set the idle value.

Parameters:

idle - the idle value to set

Returns:

the NodeCounts object itself.

withLeavingPool

public NodeCounts withLeavingPool(int leavingPool)

Set the leavingPool value.

Parameters:

leavingPool - the leavingPool value to set

Returns:

the NodeCounts object itself.

withOffline

public NodeCounts withOffline(int offline)

Set the offline value.

Parameters:

offline - the offline value to set

Returns:

the NodeCounts object itself.

withPreempted

public NodeCounts withPreempted(int preempted)

Set the preempted value.

Parameters:

preempted - the preempted value to set

Returns:

the NodeCounts object itself.

withRebooting

public NodeCounts withRebooting(int rebooting)

Set the rebooting value.

Parameters:

rebooting - the rebooting value to set

Returns:

the NodeCounts object itself.

withReimaging

public NodeCounts withReimaging(int reimaging)

Set the reimaging value.

Parameters:

reimaging - the reimaging value to set

Returns:

the NodeCounts object itself.

withRunning

public NodeCounts withRunning(int running)

Set the running value.

Parameters:

running - the running value to set

Returns:

the NodeCounts object itself.

withStarting

public NodeCounts withStarting(int starting)

Set the starting value.

Parameters:

starting - the starting value to set

Returns:

the NodeCounts object itself.

withStartTaskFailed

public NodeCounts withStartTaskFailed(int startTaskFailed)

Set the startTaskFailed value.

Parameters:

startTaskFailed - the startTaskFailed value to set

Returns:

the NodeCounts object itself.

withTotal

public NodeCounts withTotal(int total)

Set the total value.

Parameters:

total - the total value to set

Returns:

the NodeCounts object itself.

withUnknown

public NodeCounts withUnknown(int unknown)

Set the unknown value.

Parameters:

unknown - the unknown value to set

Returns:

the NodeCounts object itself.

withUnusable

public NodeCounts withUnusable(int unusable)

Set the unusable value.

Parameters:

unusable - the unusable value to set

Returns:

the NodeCounts object itself.

withWaitingForStartTask

public NodeCounts withWaitingForStartTask(int waitingForStartTask)

Set the waitingForStartTask value.

Parameters:

waitingForStartTask - the waitingForStartTask value to set

Returns:

the NodeCounts object itself.

Applies to