Class AutoPauseProperties
java.lang.Object
com.azure.resourcemanager.synapse.models.AutoPauseProperties
Spark pool auto-pausing properties
Auto-pausing properties of a Big Data pool powered by Apache Spark.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.enabled()
Get the enabled property: Whether auto-pausing is enabled for the Big Data pool.void
validate()
Validates the instance.withDelayInMinutes
(Integer delayInMinutes) Set the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.withEnabled
(Boolean enabled) Set the enabled property: Whether auto-pausing is enabled for the Big Data pool.
-
Constructor Details
-
AutoPauseProperties
public AutoPauseProperties()Creates an instance of AutoPauseProperties class.
-
-
Method Details
-
delayInMinutes
Get the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.- Returns:
- the delayInMinutes value.
-
withDelayInMinutes
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
Get the enabled property: Whether auto-pausing is enabled for the Big Data pool.- Returns:
- the enabled value.
-
withEnabled
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.
-