PoolNodeCounts Class

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

public class PoolNodeCounts

The number of nodes in each state for a pool.

Method Summary

Modifier and Type Method and Description
NodeCounts dedicated()

Get the dedicated value.

NodeCounts lowPriority()

Get the lowPriority value.

String poolId()

Get the poolId value.

PoolNodeCounts withDedicated(NodeCounts dedicated)

Set the dedicated value.

PoolNodeCounts withLowPriority(NodeCounts lowPriority)

Set the lowPriority value.

PoolNodeCounts withPoolId(String poolId)

Set the poolId value.

Method Details

dedicated

public NodeCounts dedicated()

Get the dedicated value.

Returns:

the dedicated value

lowPriority

public NodeCounts lowPriority()

Get the lowPriority value.

Returns:

the lowPriority value

poolId

public String poolId()

Get the poolId value.

Returns:

the poolId value

withDedicated

public PoolNodeCounts withDedicated(NodeCounts dedicated)

Set the dedicated value.

Parameters:

dedicated - the dedicated value to set

Returns:

the PoolNodeCounts object itself.

withLowPriority

public PoolNodeCounts withLowPriority(NodeCounts lowPriority)

Set the lowPriority value.

Parameters:

lowPriority - the lowPriority value to set

Returns:

the PoolNodeCounts object itself.

withPoolId

public PoolNodeCounts withPoolId(String poolId)

Set the poolId value.

Parameters:

poolId - the poolId value to set

Returns:

the PoolNodeCounts object itself.

Applies to