Package com.oracle.bmc.bds.model
Class BatchingBasedOdhPatchingConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BatchingBasedOdhPatchingConfig.Builder
-
- Enclosing class:
- BatchingBasedOdhPatchingConfig
public static class BatchingBasedOdhPatchingConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchingBasedOdhPatchingConfig.Builder
batchSize(Integer batchSize)
How many nodes to be patched in each iteration.BatchingBasedOdhPatchingConfig
build()
BatchingBasedOdhPatchingConfig.Builder
copy(BatchingBasedOdhPatchingConfig model)
BatchingBasedOdhPatchingConfig.Builder
toleranceThresholdPerBatch(Integer toleranceThresholdPerBatch)
Acceptable number of failed-to-be-patched nodes in each batch.BatchingBasedOdhPatchingConfig.Builder
waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.
-
-
-
Method Detail
-
batchSize
public BatchingBasedOdhPatchingConfig.Builder batchSize(Integer batchSize)
How many nodes to be patched in each iteration.- Parameters:
batchSize
- the value to set- Returns:
- this builder
-
waitTimeBetweenBatchInSeconds
public BatchingBasedOdhPatchingConfig.Builder waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.- Parameters:
waitTimeBetweenBatchInSeconds
- the value to set- Returns:
- this builder
-
toleranceThresholdPerBatch
public BatchingBasedOdhPatchingConfig.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 non-utility and non-master nodes.
- Parameters:
toleranceThresholdPerBatch
- the value to set- Returns:
- this builder
-
build
public BatchingBasedOdhPatchingConfig build()
-
copy
public BatchingBasedOdhPatchingConfig.Builder copy(BatchingBasedOdhPatchingConfig model)
-
-