Interface SnoozeAlarmActionRequest.Builder

    • Method Detail

      • requestId

        SnoozeAlarmActionRequest.Builder requestId​(String requestIdValue)

        The request ID. Each ID must be unique within each batch.

        Parameters:
        requestIdValue - The request ID. Each ID must be unique within each batch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmModelName

        SnoozeAlarmActionRequest.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.
      • keyValue

        SnoozeAlarmActionRequest.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.
      • note

        SnoozeAlarmActionRequest.Builder note​(String note)

        The note that you can leave when you snooze the alarm.

        Parameters:
        note - The note that you can leave when you snooze the alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snoozeDuration

        SnoozeAlarmActionRequest.Builder snoozeDuration​(Integer snoozeDuration)

        The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

        Parameters:
        snoozeDuration - The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.