Interface SystemEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SystemEvent.Builder,SystemEvent>,SdkBuilder<SystemEvent.Builder,SystemEvent>,SdkPojo
- Enclosing class:
- SystemEvent
public static interface SystemEvent.Builder extends SdkPojo, CopyableBuilder<SystemEvent.Builder,SystemEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SystemEvent.BuildereventType(String eventType)The event type.SystemEvent.BuildereventType(EventType eventType)The event type.default SystemEvent.BuilderstateChangeConfiguration(Consumer<StateChangeConfiguration.Builder> stateChangeConfiguration)Contains the configuration information of alarm state changes.SystemEvent.BuilderstateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)Contains the configuration information of alarm state changes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eventType
SystemEvent.Builder eventType(String eventType)
The event type. If the value is
STATE_CHANGE, the event contains information about alarm state changes.
-
eventType
SystemEvent.Builder eventType(EventType eventType)
The event type. If the value is
STATE_CHANGE, the event contains information about alarm state changes.
-
stateChangeConfiguration
SystemEvent.Builder stateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
- Parameters:
stateChangeConfiguration- Contains the configuration information of alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateChangeConfiguration
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.Builderavoiding the need to create one manually viaStateChangeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateChangeConfiguration(StateChangeConfiguration).- Parameters:
stateChangeConfiguration- a consumer that will call methods onStateChangeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stateChangeConfiguration(StateChangeConfiguration)
-
-