Interface AlarmHistoryItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>
,SdkBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>
,SdkPojo
- Enclosing class:
- AlarmHistoryItem
public static interface AlarmHistoryItem.Builder extends SdkPojo, CopyableBuilder<AlarmHistoryItem.Builder,AlarmHistoryItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlarmHistoryItem.Builder
alarmName(String alarmName)
The descriptive name for the alarm.AlarmHistoryItem.Builder
alarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.AlarmHistoryItem.Builder
alarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.AlarmHistoryItem.Builder
historyData(String historyData)
Data about the alarm, in JSON format.AlarmHistoryItem.Builder
historyItemType(String historyItemType)
The type of alarm history item.AlarmHistoryItem.Builder
historyItemType(HistoryItemType historyItemType)
The type of alarm history item.AlarmHistoryItem.Builder
historySummary(String historySummary)
A summary of the alarm history, in text format.AlarmHistoryItem.Builder
timestamp(Instant timestamp)
The time stamp for the alarm history item.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
alarmName
AlarmHistoryItem.Builder alarmName(String alarmName)
The descriptive name for the alarm.
- Parameters:
alarmName
- The descriptive name for the alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmType
AlarmHistoryItem.Builder alarmType(String alarmType)
The type of alarm, either metric alarm or composite alarm.
-
alarmType
AlarmHistoryItem.Builder alarmType(AlarmType alarmType)
The type of alarm, either metric alarm or composite alarm.
-
timestamp
AlarmHistoryItem.Builder timestamp(Instant timestamp)
The time stamp for the alarm history item.
- Parameters:
timestamp
- The time stamp for the alarm history item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyItemType
AlarmHistoryItem.Builder historyItemType(String historyItemType)
The type of alarm history item.
- Parameters:
historyItemType
- The type of alarm history item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HistoryItemType
,HistoryItemType
-
historyItemType
AlarmHistoryItem.Builder historyItemType(HistoryItemType historyItemType)
The type of alarm history item.
- Parameters:
historyItemType
- The type of alarm history item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HistoryItemType
,HistoryItemType
-
historySummary
AlarmHistoryItem.Builder historySummary(String historySummary)
A summary of the alarm history, in text format.
- Parameters:
historySummary
- A summary of the alarm history, in text format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
historyData
AlarmHistoryItem.Builder historyData(String historyData)
Data about the alarm, in JSON format.
- Parameters:
historyData
- Data about the alarm, in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-