Class ScalingHostPoolReference
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.ScalingHostPoolReference
-
public final class ScalingHostPoolReference extends Object
Scaling plan reference to hostpool.
-
-
Constructor Summary
Constructors Constructor Description ScalingHostPoolReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringhostPoolArmPath()Get the hostPoolArmPath property: Arm path of referenced hostpool.BooleanscalingPlanEnabled()Get the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.voidvalidate()Validates the instance.ScalingHostPoolReferencewithHostPoolArmPath(String hostPoolArmPath)Set the hostPoolArmPath property: Arm path of referenced hostpool.ScalingHostPoolReferencewithScalingPlanEnabled(Boolean scalingPlanEnabled)Set the scalingPlanEnabled property: Is the scaling plan enabled for this hostpool.
-
-
-
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.
-
-