AutoScaleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. AutoScaleProperties
- com.
Implements
public final class AutoScaleProperties
implements JsonSerializable<AutoScaleProperties>
Spark pool auto-scaling properties Auto-scaling properties of a Big Data pool powered by Apache Spark.
Constructor Summary
| Constructor | Description |
|---|---|
| AutoScaleProperties() |
Creates an instance of Auto |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Whether automatic scaling is enabled for the Big Data pool. |
|
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
| Integer |
maxNodeCount()
Get the max |
| Integer |
minNodeCount()
Get the min |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Auto |
withEnabled(Boolean enabled)
Set the enabled property: Whether automatic scaling is enabled for the Big Data pool. |
|
Auto |
withMaxNodeCount(Integer maxNodeCount)
Set the max |
|
Auto |
withMinNodeCount(Integer minNodeCount)
Set the min |
Methods inherited from java.lang.Object
Constructor Details
AutoScaleProperties
public AutoScaleProperties()
Creates an instance of AutoScaleProperties class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Whether automatic scaling is enabled for the Big Data pool.
Returns:
fromJson
public static AutoScaleProperties fromJson(JsonReader jsonReader)
Reads an instance of AutoScaleProperties from the JsonReader.
Parameters:
Returns:
Throws:
maxNodeCount
public Integer maxNodeCount()
Get the maxNodeCount property: The maximum number of nodes the Big Data pool can support.
Returns:
minNodeCount
public Integer minNodeCount()
Get the minNodeCount property: The minimum number of nodes the Big Data pool can support.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public AutoScaleProperties withEnabled(Boolean enabled)
Set the enabled property: Whether automatic scaling is enabled for the Big Data pool.
Parameters:
Returns:
withMaxNodeCount
public AutoScaleProperties withMaxNodeCount(Integer maxNodeCount)
Set the maxNodeCount property: The maximum number of nodes the Big Data pool can support.
Parameters:
Returns:
withMinNodeCount
public AutoScaleProperties withMinNodeCount(Integer minNodeCount)
Set the minNodeCount property: The minimum number of nodes the Big Data pool can support.
Parameters:
Returns: