Class AutoScaleProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AutoScaleProperties
-
public final class AutoScaleProperties extends Object
Auto scale properties.
-
-
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: The enabled property.Integer
maxNodeCount()
Get the maxNodeCount property: The maxNodeCount property.Integer
minNodeCount()
Get the minNodeCount property: The minNodeCount property.void
validate()
Validates the instance.AutoScaleProperties
withEnabled(Boolean enabled)
Set the enabled property: The enabled property.AutoScaleProperties
withMaxNodeCount(Integer maxNodeCount)
Set the maxNodeCount property: The maxNodeCount property.AutoScaleProperties
withMinNodeCount(Integer minNodeCount)
Set the minNodeCount property: The minNodeCount property.
-
-
-
Method Detail
-
minNodeCount
public Integer minNodeCount()
Get the minNodeCount property: The minNodeCount property.- Returns:
- the minNodeCount value.
-
withMinNodeCount
public AutoScaleProperties withMinNodeCount(Integer minNodeCount)
Set the minNodeCount property: The minNodeCount property.- Parameters:
minNodeCount
- the minNodeCount value to set.- Returns:
- the AutoScaleProperties object itself.
-
enabled
public Boolean enabled()
Get the enabled property: The enabled property.- Returns:
- the enabled value.
-
withEnabled
public AutoScaleProperties withEnabled(Boolean enabled)
Set the enabled property: The enabled property.- Parameters:
enabled
- the enabled value to set.- Returns:
- the AutoScaleProperties object itself.
-
maxNodeCount
public Integer maxNodeCount()
Get the maxNodeCount property: The maxNodeCount property.- Returns:
- the maxNodeCount value.
-
withMaxNodeCount
public AutoScaleProperties withMaxNodeCount(Integer maxNodeCount)
Set the maxNodeCount property: The maxNodeCount property.- 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.
-
-