Class FixedScaleSettings


  • public class FixedScaleSettings
    extends Object
    Fixed scale settings for the pool.
    • Constructor Detail

      • FixedScaleSettings

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