Class ScalingHostPoolReference


  • public final class ScalingHostPoolReference
    extends Object
    Scaling plan reference to hostpool.
    • Constructor Detail

      • ScalingHostPoolReference

        public ScalingHostPoolReference()
    • Method Detail

      • hostPoolArmPath

        public String hostPoolArmPath()
        Get the hostPoolArmPath property: Arm path of referenced hostpool.
        Returns:
        the hostPoolArmPath value.
      • withHostPoolArmPath

        public ScalingHostPoolReference withHostPoolArmPath​(String hostPoolArmPath)
        Set the hostPoolArmPath property: Arm path of referenced hostpool.
        Parameters:
        hostPoolArmPath - the hostPoolArmPath value to set.
        Returns:
        the ScalingHostPoolReference object itself.
      • scalingPlanEnabled

        public Boolean scalingPlanEnabled()
        Get the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
        Returns:
        the scalingPlanEnabled value.
      • withScalingPlanEnabled

        public ScalingHostPoolReference withScalingPlanEnabled​(Boolean scalingPlanEnabled)
        Set the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
        Parameters:
        scalingPlanEnabled - the scalingPlanEnabled value to set.
        Returns:
        the ScalingHostPoolReference object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.