AutoPauseProperties Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. AutoPauseProperties
- com.
Implements
public final class AutoPauseProperties
implements JsonSerializable<AutoPauseProperties>
Spark pool auto-pausing properties Auto-pausing properties of a Big Data pool powered by Apache Spark.
Constructor Summary
| Constructor | Description |
|---|---|
| AutoPauseProperties() |
Creates an instance of Auto |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
delayInMinutes()
Get the delay |
| Boolean |
enabled()
Get the enabled property: Whether auto-pausing is enabled for the Big Data pool. |
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Auto |
withDelayInMinutes(Integer delayInMinutes)
Set the delay |
|
Auto |
withEnabled(Boolean enabled)
Set the enabled property: Whether auto-pausing is enabled for the Big Data pool. |
Methods inherited from java.lang.Object
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:
enabled
public Boolean enabled()
Get the enabled property: Whether auto-pausing is enabled for the Big Data pool.
Returns:
fromJson
public static AutoPauseProperties fromJson(JsonReader jsonReader)
Reads an instance of AutoPauseProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withEnabled
public AutoPauseProperties withEnabled(Boolean enabled)
Set the enabled property: Whether auto-pausing is enabled for the Big Data pool.
Parameters:
Returns: