public class AutoScaleSettings extends Object
Constructor and Description |
---|
AutoScaleSettings() |
Modifier and Type | Method and Description |
---|---|
Integer |
initialNodeCount()
Get the number of compute nodes to allocate on cluster creation.
|
int |
maximumNodeCount()
Get the maximum number of compute nodes the cluster can have.
|
int |
minimumNodeCount()
Get the minimum number of compute nodes the Batch AI service will try to allocate for the cluster.
|
AutoScaleSettings |
withInitialNodeCount(Integer initialNodeCount)
Set the number of compute nodes to allocate on cluster creation.
|
AutoScaleSettings |
withMaximumNodeCount(int maximumNodeCount)
Set the maximum number of compute nodes the cluster can have.
|
AutoScaleSettings |
withMinimumNodeCount(int minimumNodeCount)
Set the minimum number of compute nodes the Batch AI service will try to allocate for the cluster.
|
public int minimumNodeCount()
public AutoScaleSettings withMinimumNodeCount(int minimumNodeCount)
minimumNodeCount
- the minimumNodeCount value to setpublic int maximumNodeCount()
public AutoScaleSettings withMaximumNodeCount(int maximumNodeCount)
maximumNodeCount
- the maximumNodeCount value to setpublic Integer initialNodeCount()
public AutoScaleSettings withInitialNodeCount(Integer initialNodeCount)
initialNodeCount
- the initialNodeCount value to setCopyright © 2019. All rights reserved.