Class AutoPauseProperties

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

public final class AutoPauseProperties extends Object
Spark pool auto-pausing properties

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

  • Constructor Details

    • AutoPauseProperties

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

    • delayInMinutes

      public Integer delayInMinutes()
      Get the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.
      Returns:
      the delayInMinutes value.
    • withDelayInMinutes

      public AutoPauseProperties withDelayInMinutes(Integer delayInMinutes)
      Set the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.
      Parameters:
      delayInMinutes - the delayInMinutes value to set.
      Returns:
      the AutoPauseProperties object itself.
    • enabled

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

      public AutoPauseProperties withEnabled(Boolean enabled)
      Set the enabled property: Whether auto-pausing is enabled for the Big Data pool.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the AutoPauseProperties object itself.
    • validate

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