Interface ClusterAlert.Builder

  • Method Details

    • alertType

      ClusterAlert.Builder alertType(String alertType)
      The type of the alert
      Parameters:
      alertType - The type of the alert
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelId

      ClusterAlert.Builder channelId(String channelId)
      The ID of the channel this alert is associated with
      Parameters:
      channelId - The ID of the channel this alert is associated with
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clearedTimestamp

      ClusterAlert.Builder clearedTimestamp(Instant clearedTimestamp)
      The time when the alert was cleared
      Parameters:
      clearedTimestamp - The time when the alert was cleared
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The further subtype of this alert
      Parameters:
      id - The further subtype of this alert
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      ClusterAlert.Builder message(String message)
      The user facing alert message which can have more context
      Parameters:
      message - The user facing alert message which can have more context
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeId

      ClusterAlert.Builder nodeId(String nodeId)
      The ID of the node this alert is associated with
      Parameters:
      nodeId - The ID of the node this alert is associated with
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimestamp

      ClusterAlert.Builder setTimestamp(Instant setTimestamp)
      The time when the alert was set
      Parameters:
      setTimestamp - The time when the alert was set
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the alert
      Parameters:
      state - The state of the alert
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the alert
      Parameters:
      state - The state of the alert
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: