public static class AlarmDimensionStatesCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmDimensionStatesCollection.Builder |
alarmId(String alarmId)
The OCID
of the alarm to retrieve alarm state entries for.
|
AlarmDimensionStatesCollection |
build() |
AlarmDimensionStatesCollection.Builder |
copy(AlarmDimensionStatesCollection model) |
AlarmDimensionStatesCollection.Builder |
isEnabled(Boolean isEnabled)
Whether the alarm is enabled.
|
AlarmDimensionStatesCollection.Builder |
isNotificationsPerMetricDimensionEnabled(Boolean isNotificationsPerMetricDimensionEnabled)
When set to
true , splits alarm notifications per metric stream. |
AlarmDimensionStatesCollection.Builder |
items(List<AlarmDimensionStatesEntry> items)
Array of alarm state entries.
|
public AlarmDimensionStatesCollection.Builder alarmId(String alarmId)
The OCID of the alarm to retrieve alarm state entries for.
alarmId
- the value to setpublic AlarmDimensionStatesCollection.Builder isEnabled(Boolean isEnabled)
Whether the alarm is enabled.
Example: true
isEnabled
- the value to setpublic AlarmDimensionStatesCollection.Builder isNotificationsPerMetricDimensionEnabled(Boolean isNotificationsPerMetricDimensionEnabled)
When set to true
, splits alarm notifications per metric stream. When set to
false
, groups alarm notifications across metric streams.
isNotificationsPerMetricDimensionEnabled
- the value to setpublic AlarmDimensionStatesCollection.Builder items(List<AlarmDimensionStatesEntry> items)
Array of alarm state entries.
items
- the value to setpublic AlarmDimensionStatesCollection build()
public AlarmDimensionStatesCollection.Builder copy(AlarmDimensionStatesCollection model)
Copyright © 2016–2024. All rights reserved.