Class AutoScaleProperties
java.lang.Object
com.azure.resourcemanager.synapse.models.AutoScaleProperties
Spark pool auto-scaling properties
Auto-scaling properties of a Big Data pool powered by Apache Spark.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Whether automatic scaling is enabled for the Big Data pool.Get the maxNodeCount property: The maximum number of nodes the Big Data pool can support.Get the minNodeCount property: The minimum number of nodes the Big Data pool can support.void
validate()
Validates the instance.withEnabled
(Boolean enabled) Set the enabled property: Whether automatic scaling is enabled for the Big Data pool.withMaxNodeCount
(Integer maxNodeCount) Set the maxNodeCount property: The maximum number of nodes the Big Data pool can support.withMinNodeCount
(Integer minNodeCount) Set the minNodeCount property: The minimum number of nodes the Big Data pool can support.
-
Constructor Details
-
AutoScaleProperties
public AutoScaleProperties()Creates an instance of AutoScaleProperties class.
-
-
Method Details
-
minNodeCount
Get the minNodeCount property: The minimum number of nodes the Big Data pool can support.- Returns:
- the minNodeCount value.
-
withMinNodeCount
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
Get the enabled property: Whether automatic scaling is enabled for the Big Data pool.- Returns:
- the enabled value.
-
withEnabled
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
Get the maxNodeCount property: The maximum number of nodes the Big Data pool can support.- Returns:
- the maxNodeCount value.
-
withMaxNodeCount
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.
-