Class 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 Detail

      • ResizeOperationStatus

        public ResizeOperationStatus()
    • 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.