@Generated(value="software.amazon.awssdk:codegen") public final class Alarm extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Alarm.Builder,Alarm>
Contains information about an alarm.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Alarm.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alarmModelName()
The name of the alarm model.
|
String |
alarmModelVersion()
The version of the alarm model.
|
AlarmState |
alarmState()
Contains information about the current state of the alarm.
|
static Alarm.Builder |
builder() |
Instant |
creationTime()
The time the alarm was created, in the Unix epoch format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyValue()
The value of the key used as a filter to select only the alarms associated with the key.
|
Instant |
lastUpdateTime()
The time the alarm was last updated, in the Unix epoch format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Alarm.Builder> |
serializableBuilderClass() |
Integer |
severity()
A non-negative integer that reflects the severity level of the alarm.
|
Alarm.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String alarmModelName()
The name of the alarm model.
public final String alarmModelVersion()
The version of the alarm model.
public final String keyValue()
The value of the key used as a filter to select only the alarms associated with the key.
public final AlarmState alarmState()
Contains information about the current state of the alarm.
public final Integer severity()
A non-negative integer that reflects the severity level of the alarm.
public final Instant creationTime()
The time the alarm was created, in the Unix epoch format.
public final Instant lastUpdateTime()
The time the alarm was last updated, in the Unix epoch format.
public Alarm.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Alarm.Builder,Alarm>public static Alarm.Builder builder()
public static Class<? extends Alarm.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.