Interface UpdateAlarmModelResponse.Builder

    • Method Detail

      • creationTime

        UpdateAlarmModelResponse.Builder creationTime​(Instant creationTime)

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

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

        UpdateAlarmModelResponse.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.
      • lastUpdateTime

        UpdateAlarmModelResponse.Builder lastUpdateTime​(Instant lastUpdateTime)

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

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

        UpdateAlarmModelResponse.Builder status​(String status)

        The status of the alarm model. The status can be one of the following values:

        • ACTIVE - The alarm model is active and it's ready to evaluate data.

        • ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.

        • INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.

        • FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

        Parameters:
        status - The status of the alarm model. The status can be one of the following values:

        • ACTIVE - The alarm model is active and it's ready to evaluate data.

        • ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.

        • INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.

        • FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AlarmModelVersionStatus, AlarmModelVersionStatus
      • status

        UpdateAlarmModelResponse.Builder status​(AlarmModelVersionStatus status)

        The status of the alarm model. The status can be one of the following values:

        • ACTIVE - The alarm model is active and it's ready to evaluate data.

        • ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.

        • INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.

        • FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

        Parameters:
        status - The status of the alarm model. The status can be one of the following values:

        • ACTIVE - The alarm model is active and it's ready to evaluate data.

        • ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.

        • INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.

        • FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AlarmModelVersionStatus, AlarmModelVersionStatus