public static class BatchingBasedPatchingConfigs.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchingBasedPatchingConfigs.Builder |
batchSize(Integer batchSize)
How many nodes to be patched and rebooted in each iteration.
|
BatchingBasedPatchingConfigs |
build() |
BatchingBasedPatchingConfigs.Builder |
copy(BatchingBasedPatchingConfigs model) |
BatchingBasedPatchingConfigs.Builder |
toleranceThresholdPerBatch(Integer toleranceThresholdPerBatch)
Acceptable number of failed-to-be-patched nodes in each batch.
|
BatchingBasedPatchingConfigs.Builder |
waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.
|
public BatchingBasedPatchingConfigs.Builder batchSize(Integer batchSize)
How many nodes to be patched and rebooted in each iteration.
batchSize
- the value to setpublic BatchingBasedPatchingConfigs.Builder waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.
waitTimeBetweenBatchInSeconds
- the value to setpublic BatchingBasedPatchingConfigs.Builder toleranceThresholdPerBatch(Integer toleranceThresholdPerBatch)
Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of nodes.
toleranceThresholdPerBatch
- the value to setpublic BatchingBasedPatchingConfigs build()
public BatchingBasedPatchingConfigs.Builder copy(BatchingBasedPatchingConfigs model)
Copyright © 2016–2024. All rights reserved.