PoolResizeParameter 类
定义
Options for changing the size of a pool.
public class PoolResizeParameter
- 继承
-
java.lang.ObjectPoolResizeParameter
方法
nodeDeallocationOption() |
Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'.
|
resizeTimeout() |
Get the default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
|
targetDedicatedNodes() |
Get the targetDedicatedNodes value.
|
targetLowPriorityNodes() |
Get the targetLowPriorityNodes value.
|
withNodeDeallocationOption(ComputeNodeDeallocationOption nodeDeallocationOption) |
Set the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion', 'retainedData'.
|
withResizeTimeout(Period resizeTimeout) |
Set the default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
|
withTargetDedicatedNodes(Integer targetDedicatedNodes) |
Set the targetDedicatedNodes value.
|
withTargetLowPriorityNodes(Integer targetLowPriorityNodes) |
Set the targetLowPriorityNodes value.
|