@Generated(value="software.amazon.awssdk:codegen") public final class AlarmHistoryItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>
Represents the history of a specific alarm.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlarmHistoryItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alarmName()
The descriptive name for the alarm.
|
AlarmType |
alarmType()
The type of alarm, either metric alarm or composite alarm.
|
String |
alarmTypeAsString()
The type of alarm, either metric alarm or composite alarm.
|
static AlarmHistoryItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
historyData()
Data about the alarm, in JSON format.
|
HistoryItemType |
historyItemType()
The type of alarm history item.
|
String |
historyItemTypeAsString()
The type of alarm history item.
|
String |
historySummary()
A summary of the alarm history, in text format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AlarmHistoryItem.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The time stamp for the alarm history item.
|
AlarmHistoryItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String alarmName()
The descriptive name for the alarm.
public AlarmType alarmType()
The type of alarm, either metric alarm or composite alarm.
If the service returns an enum value that is not available in the current SDK version, alarmType will
return AlarmType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alarmTypeAsString().
AlarmTypepublic String alarmTypeAsString()
The type of alarm, either metric alarm or composite alarm.
If the service returns an enum value that is not available in the current SDK version, alarmType will
return AlarmType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alarmTypeAsString().
AlarmTypepublic Instant timestamp()
The time stamp for the alarm history item.
public HistoryItemType historyItemType()
The type of alarm history item.
If the service returns an enum value that is not available in the current SDK version, historyItemType
will return HistoryItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from historyItemTypeAsString().
HistoryItemTypepublic String historyItemTypeAsString()
The type of alarm history item.
If the service returns an enum value that is not available in the current SDK version, historyItemType
will return HistoryItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from historyItemTypeAsString().
HistoryItemTypepublic String historySummary()
A summary of the alarm history, in text format.
public String historyData()
Data about the alarm, in JSON format.
public AlarmHistoryItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>public static AlarmHistoryItem.Builder builder()
public static Class<? extends AlarmHistoryItem.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.