public final class AutoScaleProperties extends Object
Constructor and Description |
---|
AutoScaleProperties() |
Modifier and Type | Method and 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.
|
public Integer minNodeCount()
public AutoScaleProperties withMinNodeCount(Integer minNodeCount)
minNodeCount
- the minNodeCount value to set.public Boolean enabled()
public AutoScaleProperties withEnabled(Boolean enabled)
enabled
- the enabled value to set.public Integer maxNodeCount()
public AutoScaleProperties withMaxNodeCount(Integer maxNodeCount)
maxNodeCount
- the maxNodeCount value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.