public static class AlarmHistoryCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlarmHistoryCollection.Builder |
alarmId(String alarmId)
The OCID
of the alarm to retrieve history for.
|
AlarmHistoryCollection |
build() |
AlarmHistoryCollection.Builder |
copy(AlarmHistoryCollection model) |
AlarmHistoryCollection.Builder |
entries(List<AlarmHistoryEntry> entries)
The set of history entries retrieved for the alarm.
|
AlarmHistoryCollection.Builder |
isEnabled(Boolean isEnabled)
Whether the alarm is enabled.
|
public AlarmHistoryCollection.Builder alarmId(String alarmId)
The OCID of the alarm to retrieve history for.
alarmId
- the value to setpublic AlarmHistoryCollection.Builder isEnabled(Boolean isEnabled)
Whether the alarm is enabled.
Example: true
isEnabled
- the value to setpublic AlarmHistoryCollection.Builder entries(List<AlarmHistoryEntry> entries)
The set of history entries retrieved for the alarm.
entries
- the value to setpublic AlarmHistoryCollection build()
public AlarmHistoryCollection.Builder copy(AlarmHistoryCollection model)
Copyright © 2016–2024. All rights reserved.