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