public static interface SystemEvent.Builder extends SdkPojo, CopyableBuilder<SystemEvent.Builder,SystemEvent>
| Modifier and Type | Method and Description |
|---|---|
SystemEvent.Builder |
eventType(EventType eventType)
The event type.
|
SystemEvent.Builder |
eventType(String eventType)
The event type.
|
default SystemEvent.Builder |
stateChangeConfiguration(Consumer<StateChangeConfiguration.Builder> stateChangeConfiguration)
Contains the configuration information of alarm state changes.
|
SystemEvent.Builder |
stateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSystemEvent.Builder eventType(String eventType)
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
SystemEvent.Builder eventType(EventType eventType)
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
SystemEvent.Builder stateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
stateChangeConfiguration - Contains the configuration information of alarm state changes.default SystemEvent.Builder stateChangeConfiguration(Consumer<StateChangeConfiguration.Builder> stateChangeConfiguration)
Contains the configuration information of alarm state changes.
This is a convenience method that creates an instance of theStateChangeConfiguration.Builder
avoiding the need to create one manually via StateChangeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to stateChangeConfiguration(StateChangeConfiguration).
stateChangeConfiguration - a consumer that will call methods on StateChangeConfiguration.BuilderstateChangeConfiguration(StateChangeConfiguration)Copyright © 2023. All rights reserved.