Interface NodeRepairConfig.Builder

  • 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

      NodeRepairConfig.Builder maxUnhealthyNodeThresholdCount(Integer 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 set maxUnhealthyNodeThresholdPercentage 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 set maxUnhealthyNodeThresholdCount at the same time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxParallelNodesRepairedCount

      NodeRepairConfig.Builder maxParallelNodesRepairedCount(Integer 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 set maxParallelNodesRepairedPercentage 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 set maxParallelNodesRepairedCount 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 the NodeRepairConfigOverrides.Builder avoiding the need to create one manually via NodeRepairConfigOverrides.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodeRepairConfigOverrides(List<NodeRepairConfigOverrides>).

      Parameters:
      nodeRepairConfigOverrides - a consumer that will call methods on NodeRepairConfigOverrides.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: