Class Alarm
- java.lang.Object
-
- software.amazon.awssdk.services.ioteventsdata.model.Alarm
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Alarm.Builder,Alarm>
@Generated("software.amazon.awssdk:codegen") public final class Alarm extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Alarm.Builder,Alarm>
Contains information about an alarm.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlarm.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalarmModelName()The name of the alarm model.StringalarmModelVersion()The version of the alarm model.AlarmStatealarmState()Contains information about the current state of the alarm.static Alarm.Builderbuilder()InstantcreationTime()The time the alarm was created, in the Unix epoch format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyValue()The value of the key used as a filter to select only the alarms associated with the key.InstantlastUpdateTime()The time the alarm was last updated, in the Unix epoch format.List<SdkField<?>>sdkFields()static Class<? extends Alarm.Builder>serializableBuilderClass()Integerseverity()A non-negative integer that reflects the severity level of the alarm.Alarm.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
alarmModelName
public final String alarmModelName()
The name of the alarm model.
- Returns:
- The name of the alarm model.
-
alarmModelVersion
public final String alarmModelVersion()
The version of the alarm model.
- Returns:
- The version of the alarm model.
-
keyValue
public final String keyValue()
The value of the key used as a filter to select only the alarms associated with the key.
- Returns:
- The value of the key used as a filter to select only the alarms associated with the key.
-
alarmState
public final AlarmState alarmState()
Contains information about the current state of the alarm.
- Returns:
- Contains information about the current state of the alarm.
-
severity
public final Integer severity()
A non-negative integer that reflects the severity level of the alarm.
- Returns:
- A non-negative integer that reflects the severity level of the alarm.
-
creationTime
public final Instant creationTime()
The time the alarm was created, in the Unix epoch format.
- Returns:
- The time the alarm was created, in the Unix epoch format.
-
lastUpdateTime
public final Instant lastUpdateTime()
The time the alarm was last updated, in the Unix epoch format.
- Returns:
- The time the alarm was last updated, in the Unix epoch format.
-
toBuilder
public Alarm.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Alarm.Builder,Alarm>
-
builder
public static Alarm.Builder builder()
-
serializableBuilderClass
public static Class<? extends Alarm.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-