Interface Alarm.Builder

    • Method Detail

      • alarmModelName

        Alarm.Builder alarmModelName​(String alarmModelName)

        The name of the alarm model.

        Parameters:
        alarmModelName - The name of the alarm model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmModelVersion

        Alarm.Builder alarmModelVersion​(String alarmModelVersion)

        The version of the alarm model.

        Parameters:
        alarmModelVersion - The version of the alarm model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyValue

        Alarm.Builder keyValue​(String keyValue)

        The value of the key used as a filter to select only the alarms associated with the key.

        Parameters:
        keyValue - The value of the key used as a filter to select only the alarms associated with the key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmState

        Alarm.Builder alarmState​(AlarmState alarmState)

        Contains information about the current state of the alarm.

        Parameters:
        alarmState - Contains information about the current state of the alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        Alarm.Builder severity​(Integer severity)

        A non-negative integer that reflects the severity level of the alarm.

        Parameters:
        severity - A non-negative integer that reflects the severity level of the alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Alarm.Builder creationTime​(Instant creationTime)

        The time the alarm was created, in the Unix epoch format.

        Parameters:
        creationTime - The time the alarm was created, in the Unix epoch format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTime

        Alarm.Builder lastUpdateTime​(Instant lastUpdateTime)

        The time the alarm was last updated, in the Unix epoch format.

        Parameters:
        lastUpdateTime - The time the alarm was last updated, in the Unix epoch format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.