Interface NodeRepairConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeRepairConfig.Builder,
,NodeRepairConfig> SdkBuilder<NodeRepairConfig.Builder,
,NodeRepairConfig> SdkPojo
- Enclosing class:
NodeRepairConfig
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to enable node auto repair for the node group.maxParallelNodesRepairedCount
(Integer maxParallelNodesRepairedCount) Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes.maxParallelNodesRepairedPercentage
(Integer maxParallelNodesRepairedPercentage) Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes.maxUnhealthyNodeThresholdCount
(Integer maxUnhealthyNodeThresholdCount) Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop.maxUnhealthyNodeThresholdPercentage
(Integer maxUnhealthyNodeThresholdPercentage) Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop.nodeRepairConfigOverrides
(Collection<NodeRepairConfigOverrides> nodeRepairConfigOverrides) Specify granular overrides for specific repair actions.nodeRepairConfigOverrides
(Consumer<NodeRepairConfigOverrides.Builder>... nodeRepairConfigOverrides) Specify granular overrides for specific repair actions.nodeRepairConfigOverrides
(NodeRepairConfigOverrides... nodeRepairConfigOverrides) Specify granular overrides for specific repair actions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default.
- Parameters:
enabled
- Specifies whether to enable node auto repair for the node group. Node auto repair is disabled by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUnhealthyNodeThresholdCount
Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop. When using this, you cannot also set
maxUnhealthyNodeThresholdPercentage
at the same time.- Parameters:
maxUnhealthyNodeThresholdCount
- Specify a count threshold of unhealthy nodes, above which node auto repair actions will stop. When using this, you cannot also setmaxUnhealthyNodeThresholdPercentage
at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUnhealthyNodeThresholdPercentage
NodeRepairConfig.Builder maxUnhealthyNodeThresholdPercentage(Integer maxUnhealthyNodeThresholdPercentage) Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop. When using this, you cannot also set
maxUnhealthyNodeThresholdCount
at the same time.- Parameters:
maxUnhealthyNodeThresholdPercentage
- Specify a percentage threshold of unhealthy nodes, above which node auto repair actions will stop. When using this, you cannot also setmaxUnhealthyNodeThresholdCount
at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxParallelNodesRepairedCount
Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes. This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set
maxParallelNodesRepairedPercentage
at the same time.- Parameters:
maxParallelNodesRepairedCount
- Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a count of unhealthy nodes. This gives you finer-grained control over the pace of node replacements. When using this, you cannot also setmaxParallelNodesRepairedPercentage
at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxParallelNodesRepairedPercentage
NodeRepairConfig.Builder maxParallelNodesRepairedPercentage(Integer maxParallelNodesRepairedPercentage) Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes. This gives you finer-grained control over the pace of node replacements. When using this, you cannot also set
maxParallelNodesRepairedCount
at the same time.- Parameters:
maxParallelNodesRepairedPercentage
- Specify the maximum number of nodes that can be repaired concurrently or in parallel, expressed as a percentage of unhealthy nodes. This gives you finer-grained control over the pace of node replacements. When using this, you cannot also setmaxParallelNodesRepairedCount
at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeRepairConfigOverrides
NodeRepairConfig.Builder nodeRepairConfigOverrides(Collection<NodeRepairConfigOverrides> nodeRepairConfigOverrides) Specify granular overrides for specific repair actions. These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.
- Parameters:
nodeRepairConfigOverrides
- Specify granular overrides for specific repair actions. These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeRepairConfigOverrides
NodeRepairConfig.Builder nodeRepairConfigOverrides(NodeRepairConfigOverrides... nodeRepairConfigOverrides) Specify granular overrides for specific repair actions. These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.
- Parameters:
nodeRepairConfigOverrides
- Specify granular overrides for specific repair actions. These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeRepairConfigOverrides
NodeRepairConfig.Builder nodeRepairConfigOverrides(Consumer<NodeRepairConfigOverrides.Builder>... nodeRepairConfigOverrides) Specify granular overrides for specific repair actions. These overrides control the repair action and the repair delay time before a node is considered eligible for repair. If you use this, you must specify all the values.
This is a convenience method that creates an instance of theNodeRepairConfigOverrides.Builder
avoiding the need to create one manually viaNodeRepairConfigOverrides.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeRepairConfigOverrides(List<NodeRepairConfigOverrides>)
.- Parameters:
nodeRepairConfigOverrides
- a consumer that will call methods onNodeRepairConfigOverrides.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-