Class FixedScaleSettings
- java.lang.Object
-
- com.microsoft.azure.management.batch.FixedScaleSettings
-
public class FixedScaleSettings extends Object
Fixed scale settings for the pool.
-
-
Constructor Summary
Constructors Constructor Description FixedScaleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNodeDeallocationOptionnodeDeallocationOption()Get the nodeDeallocationOption value.org.joda.time.PeriodresizeTimeout()Get the resizeTimeout value.IntegertargetDedicatedNodes()Get the targetDedicatedNodes value.IntegertargetLowPriorityNodes()Get the targetLowPriorityNodes value.FixedScaleSettingswithNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)Set the nodeDeallocationOption value.FixedScaleSettingswithResizeTimeout(org.joda.time.Period resizeTimeout)Set the resizeTimeout value.FixedScaleSettingswithTargetDedicatedNodes(Integer targetDedicatedNodes)Set the targetDedicatedNodes value.FixedScaleSettingswithTargetLowPriorityNodes(Integer targetLowPriorityNodes)Set the targetLowPriorityNodes value.
-
-
-
Method Detail
-
resizeTimeout
public org.joda.time.Period resizeTimeout()
Get the resizeTimeout value.- Returns:
- the resizeTimeout value
-
withResizeTimeout
public FixedScaleSettings withResizeTimeout(org.joda.time.Period resizeTimeout)
Set the resizeTimeout value.- Parameters:
resizeTimeout- the resizeTimeout value to set- Returns:
- the FixedScaleSettings object itself.
-
targetDedicatedNodes
public Integer targetDedicatedNodes()
Get the targetDedicatedNodes value.- Returns:
- the targetDedicatedNodes value
-
withTargetDedicatedNodes
public FixedScaleSettings withTargetDedicatedNodes(Integer targetDedicatedNodes)
Set the targetDedicatedNodes value.- Parameters:
targetDedicatedNodes- the targetDedicatedNodes value to set- Returns:
- the FixedScaleSettings object itself.
-
targetLowPriorityNodes
public Integer targetLowPriorityNodes()
Get the targetLowPriorityNodes value.- Returns:
- the targetLowPriorityNodes value
-
withTargetLowPriorityNodes
public FixedScaleSettings withTargetLowPriorityNodes(Integer targetLowPriorityNodes)
Set the targetLowPriorityNodes value.- Parameters:
targetLowPriorityNodes- the targetLowPriorityNodes value to set- Returns:
- the FixedScaleSettings object itself.
-
nodeDeallocationOption
public ComputeNodeDeallocationOption nodeDeallocationOption()
Get the nodeDeallocationOption value.- Returns:
- the nodeDeallocationOption value
-
withNodeDeallocationOption
public FixedScaleSettings withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)
Set the nodeDeallocationOption value.- Parameters:
nodeDeallocationOption- the nodeDeallocationOption value to set- Returns:
- the FixedScaleSettings object itself.
-
-