public static interface Alarm.Builder extends SdkPojo, CopyableBuilder<Alarm.Builder,Alarm>
| Modifier and Type | Method and Description |
|---|---|
Alarm.Builder |
alarmModelName(String alarmModelName)
The name of the alarm model.
|
Alarm.Builder |
alarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
Alarm.Builder |
alarmState(AlarmState alarmState)
Contains information about the current state of the alarm.
|
default Alarm.Builder |
alarmState(Consumer<AlarmState.Builder> alarmState)
Contains information about the current state of the alarm.
|
Alarm.Builder |
creationTime(Instant creationTime)
The time the alarm was created, in the Unix epoch format.
|
Alarm.Builder |
keyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
Alarm.Builder |
lastUpdateTime(Instant lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
|
Alarm.Builder |
severity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAlarm.Builder alarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName - The name of the alarm model.Alarm.Builder alarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion - The version of the alarm model.Alarm.Builder keyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue - The value of the key used as a filter to select only the alarms associated with the key.Alarm.Builder alarmState(AlarmState alarmState)
Contains information about the current state of the alarm.
alarmState - Contains information about the current state of the alarm.default Alarm.Builder alarmState(Consumer<AlarmState.Builder> alarmState)
Contains information about the current state of the alarm.
This is a convenience method that creates an instance of theAlarmState.Builder avoiding the need to
create one manually via AlarmState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to alarmState(AlarmState).
alarmState - a consumer that will call methods on AlarmState.BuilderalarmState(AlarmState)Alarm.Builder severity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
severity - A non-negative integer that reflects the severity level of the alarm.Alarm.Builder creationTime(Instant creationTime)
The time the alarm was created, in the Unix epoch format.
creationTime - The time the alarm was created, in the Unix epoch format.Alarm.Builder lastUpdateTime(Instant lastUpdateTime)
The time the alarm was last updated, in the Unix epoch format.
lastUpdateTime - The time the alarm was last updated, in the Unix epoch format.Copyright © 2023. All rights reserved.