Interface NodeRepairConfigOverrides.Builder

  • Method Details

    • nodeMonitoringCondition

      NodeRepairConfigOverrides.Builder nodeMonitoringCondition(String nodeMonitoringCondition)

      Specify an unhealthy condition reported by the node monitoring agent that this override would apply to.

      Parameters:
      nodeMonitoringCondition - Specify an unhealthy condition reported by the node monitoring agent that this override would apply to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeUnhealthyReason

      NodeRepairConfigOverrides.Builder nodeUnhealthyReason(String nodeUnhealthyReason)

      Specify a reason reported by the node monitoring agent that this override would apply to.

      Parameters:
      nodeUnhealthyReason - Specify a reason reported by the node monitoring agent that this override would apply to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minRepairWaitTimeMins

      NodeRepairConfigOverrides.Builder minRepairWaitTimeMins(Integer minRepairWaitTimeMins)

      Specify the minimum time in minutes to wait before attempting to repair a node with this specific nodeMonitoringCondition and nodeUnhealthyReason.

      Parameters:
      minRepairWaitTimeMins - Specify the minimum time in minutes to wait before attempting to repair a node with this specific nodeMonitoringCondition and nodeUnhealthyReason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repairAction

      NodeRepairConfigOverrides.Builder repairAction(String repairAction)

      Specify the repair action to take for nodes when all of the specified conditions are met.

      Parameters:
      repairAction - Specify the repair action to take for nodes when all of the specified conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • repairAction

      NodeRepairConfigOverrides.Builder repairAction(RepairAction repairAction)

      Specify the repair action to take for nodes when all of the specified conditions are met.

      Parameters:
      repairAction - Specify the repair action to take for nodes when all of the specified conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: