Class ResizeOperationStatus
- java.lang.Object
-
- com.microsoft.azure.management.batch.ResizeOperationStatus
-
public class ResizeOperationStatus extends Object
Details about the current or last completed resize operation. Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
-
-
Constructor Summary
Constructors Constructor Description ResizeOperationStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResizeError>errors()Get the errors value.ComputeNodeDeallocationOptionnodeDeallocationOption()Get the nodeDeallocationOption value.org.joda.time.PeriodresizeTimeout()Get the resizeTimeout value.org.joda.time.DateTimestartTime()Get the startTime value.IntegertargetDedicatedNodes()Get the targetDedicatedNodes value.IntegertargetLowPriorityNodes()Get the targetLowPriorityNodes value.ResizeOperationStatuswithErrors(List<ResizeError> errors)Set the errors value.ResizeOperationStatuswithNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)Set the nodeDeallocationOption value.ResizeOperationStatuswithResizeTimeout(org.joda.time.Period resizeTimeout)Set the resizeTimeout value.ResizeOperationStatuswithStartTime(org.joda.time.DateTime startTime)Set the startTime value.ResizeOperationStatuswithTargetDedicatedNodes(Integer targetDedicatedNodes)Set the targetDedicatedNodes value.ResizeOperationStatuswithTargetLowPriorityNodes(Integer targetLowPriorityNodes)Set the targetLowPriorityNodes value.
-
-
-
Method Detail
-
targetDedicatedNodes
public Integer targetDedicatedNodes()
Get the targetDedicatedNodes value.- Returns:
- the targetDedicatedNodes value
-
withTargetDedicatedNodes
public ResizeOperationStatus withTargetDedicatedNodes(Integer targetDedicatedNodes)
Set the targetDedicatedNodes value.- Parameters:
targetDedicatedNodes- the targetDedicatedNodes value to set- Returns:
- the ResizeOperationStatus object itself.
-
targetLowPriorityNodes
public Integer targetLowPriorityNodes()
Get the targetLowPriorityNodes value.- Returns:
- the targetLowPriorityNodes value
-
withTargetLowPriorityNodes
public ResizeOperationStatus withTargetLowPriorityNodes(Integer targetLowPriorityNodes)
Set the targetLowPriorityNodes value.- Parameters:
targetLowPriorityNodes- the targetLowPriorityNodes value to set- Returns:
- the ResizeOperationStatus object itself.
-
resizeTimeout
public org.joda.time.Period resizeTimeout()
Get the resizeTimeout value.- Returns:
- the resizeTimeout value
-
withResizeTimeout
public ResizeOperationStatus withResizeTimeout(org.joda.time.Period resizeTimeout)
Set the resizeTimeout value.- Parameters:
resizeTimeout- the resizeTimeout value to set- Returns:
- the ResizeOperationStatus object itself.
-
nodeDeallocationOption
public ComputeNodeDeallocationOption nodeDeallocationOption()
Get the nodeDeallocationOption value.- Returns:
- the nodeDeallocationOption value
-
withNodeDeallocationOption
public ResizeOperationStatus withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption)
Set the nodeDeallocationOption value.- Parameters:
nodeDeallocationOption- the nodeDeallocationOption value to set- Returns:
- the ResizeOperationStatus object itself.
-
startTime
public org.joda.time.DateTime startTime()
Get the startTime value.- Returns:
- the startTime value
-
withStartTime
public ResizeOperationStatus withStartTime(org.joda.time.DateTime startTime)
Set the startTime value.- Parameters:
startTime- the startTime value to set- Returns:
- the ResizeOperationStatus object itself.
-
errors
public List<ResizeError> errors()
Get the errors value.- Returns:
- the errors value
-
withErrors
public ResizeOperationStatus withErrors(List<ResizeError> errors)
Set the errors value.- Parameters:
errors- the errors value to set- Returns:
- the ResizeOperationStatus object itself.
-
-