public static interface AlarmEventActions.Builder extends SdkPojo, CopyableBuilder<AlarmEventActions.Builder,AlarmEventActions>
| Modifier and Type | Method and Description |
|---|---|
AlarmEventActions.Builder |
alarmActions(AlarmAction... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
AlarmEventActions.Builder |
alarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
AlarmEventActions.Builder |
alarmActions(Consumer<AlarmAction.Builder>... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAlarmEventActions.Builder alarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
alarmActions - Specifies one or more supported actions to receive notifications when the alarm state changes.AlarmEventActions.Builder alarmActions(AlarmAction... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
alarmActions - Specifies one or more supported actions to receive notifications when the alarm state changes.AlarmEventActions.Builder alarmActions(Consumer<AlarmAction.Builder>... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
This is a convenience method that creates an instance of theAlarmAction.Builder avoiding the need to create one
manually via AlarmAction.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #alarmActions(List.
alarmActions - a consumer that will call methods on
AlarmAction.Builder#alarmActions(java.util.Collection) Copyright © 2023. All rights reserved.