Class AutoScaleProperties

java.lang.Object
com.azure.resourcemanager.synapse.models.AutoScaleProperties

public final class AutoScaleProperties extends Object
Spark pool auto-scaling properties

Auto-scaling properties of a Big Data pool powered by Apache Spark.

  • Constructor Details

    • AutoScaleProperties

      public AutoScaleProperties()
      Creates an instance of AutoScaleProperties class.
  • Method Details

    • minNodeCount

      public Integer minNodeCount()
      Get the minNodeCount property: The minimum number of nodes the Big Data pool can support.
      Returns:
      the minNodeCount value.
    • withMinNodeCount

      public AutoScaleProperties withMinNodeCount(Integer minNodeCount)
      Set the minNodeCount property: The minimum number of nodes the Big Data pool can support.
      Parameters:
      minNodeCount - the minNodeCount value to set.
      Returns:
      the AutoScaleProperties object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Whether automatic scaling is enabled for the Big Data pool.
      Returns:
      the enabled value.
    • withEnabled

      public AutoScaleProperties withEnabled(Boolean enabled)
      Set the enabled property: Whether automatic scaling is enabled for the Big Data pool.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the AutoScaleProperties object itself.
    • maxNodeCount

      public Integer maxNodeCount()
      Get the maxNodeCount property: The maximum number of nodes the Big Data pool can support.
      Returns:
      the maxNodeCount value.
    • withMaxNodeCount

      public AutoScaleProperties withMaxNodeCount(Integer maxNodeCount)
      Set the maxNodeCount property: The maximum number of nodes the Big Data pool can support.
      Parameters:
      maxNodeCount - the maxNodeCount value to set.
      Returns:
      the AutoScaleProperties object itself.
    • validate

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