@Generated(value="software.amazon.awssdk:codegen") public class AlarmHistoryItem extends Object implements software.amazon.awssdk.utils.builder.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.
|
static AlarmHistoryItem.Builder |
builder() |
boolean |
equals(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 |
historyItemTypeString()
The type of alarm history item.
|
String |
historySummary()
A summary of the alarm history, in text format.
|
static Class<? extends AlarmHistoryItem.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The time stamp for the alarm history item.
|
AlarmHistoryItem.Builder |
toBuilder() |
String |
toString() |
public String alarmName()
The descriptive name for the alarm.
public 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 historyItemTypeString()
.
HistoryItemType
public String historyItemTypeString()
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 historyItemTypeString()
.
HistoryItemType
public 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 software.amazon.awssdk.utils.builder.ToCopyableBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>
public static AlarmHistoryItem.Builder builder()
public static Class<? extends AlarmHistoryItem.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.