public static class AlarmDimensionStatesEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmDimensionStatesEntry.Builder |
alarmSummary(String alarmSummary)
Customizable alarm summary (
alarmSummary alarm message
parameter). |
AlarmDimensionStatesEntry |
build() |
AlarmDimensionStatesEntry.Builder |
copy(AlarmDimensionStatesEntry model) |
AlarmDimensionStatesEntry.Builder |
dimensions(Map<String,String> dimensions)
Indicator of the metric stream associated with the alarm state entry.
|
AlarmDimensionStatesEntry.Builder |
ruleName(String ruleName)
Identifier of the alarm’s base values for alarm evaluation, for use when the alarm
contains overrides.
|
AlarmDimensionStatesEntry.Builder |
status(AlarmDimensionStatesEntry.Status status)
Transition state (status value) associated with the alarm state entry.
|
AlarmDimensionStatesEntry.Builder |
timestamp(Date timestamp)
Transition time associated with the alarm state entry.
|
public AlarmDimensionStatesEntry.Builder alarmSummary(String alarmSummary)
Customizable alarm summary (alarmSummary
alarm message
parameter).
Optionally include dynamic
variables.
The alarm summary appears within the body of the alarm message and in responses to listAlarmsStatus
getAlarmHistory
and retrieveDimensionStates
.
alarmSummary
- the value to setpublic AlarmDimensionStatesEntry.Builder dimensions(Map<String,String> dimensions)
Indicator of the metric stream associated with the alarm state entry. Includes one or more dimension key-value pairs.
dimensions
- the value to setpublic AlarmDimensionStatesEntry.Builder status(AlarmDimensionStatesEntry.Status status)
Transition state (status value) associated with the alarm state entry.
Example: FIRING
status
- the value to setpublic AlarmDimensionStatesEntry.Builder ruleName(String ruleName)
Identifier of the alarm’s base values for alarm evaluation, for use when the alarm
contains overrides. Default value is BASE
. For information about alarm overrides,
see alarmOverride
.
ruleName
- the value to setpublic AlarmDimensionStatesEntry.Builder timestamp(Date timestamp)
Transition time associated with the alarm state entry. Format defined by RFC3339.
Example: 2022-02-01T01:02:29.600Z
timestamp
- the value to setpublic AlarmDimensionStatesEntry build()
public AlarmDimensionStatesEntry.Builder copy(AlarmDimensionStatesEntry model)
Copyright © 2016–2024. All rights reserved.