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