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 Summary
Constructors Constructor Description AutoPauseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
delayInMinutes()
Get the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.Boolean
enabled()
Get the enabled property: Whether auto-pausing is enabled for the Big Data pool.void
validate()
Validates the instance.AutoPauseProperties
withDelayInMinutes(Integer delayInMinutes)
Set the delayInMinutes property: Number of minutes of idle time before the Big Data pool is automatically paused.AutoPauseProperties
withEnabled(Boolean enabled)
Set the enabled property: Whether auto-pausing is enabled for the Big Data pool.
-
-
-
Method Detail
-
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.
-
-