public class ManualScaleSettings extends Object
| Constructor and Description |
|---|
ManualScaleSettings() |
| Modifier and Type | Method and Description |
|---|---|
DeallocationOption |
nodeDeallocationOption()
Get an action to be performed when the cluster size is decreasing.
|
int |
targetNodeCount()
Get the desired number of compute nodes in the Cluster.
|
ManualScaleSettings |
withNodeDeallocationOption(DeallocationOption nodeDeallocationOption)
Set an action to be performed when the cluster size is decreasing.
|
ManualScaleSettings |
withTargetNodeCount(int targetNodeCount)
Set the desired number of compute nodes in the Cluster.
|
public int targetNodeCount()
public ManualScaleSettings withTargetNodeCount(int targetNodeCount)
targetNodeCount - the targetNodeCount value to setpublic DeallocationOption nodeDeallocationOption()
public ManualScaleSettings withNodeDeallocationOption(DeallocationOption nodeDeallocationOption)
nodeDeallocationOption - the nodeDeallocationOption value to setCopyright © 2019. All rights reserved.