public static class AlarmDimensionStatesEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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 |
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 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 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–2023. All rights reserved.