Interface SystemEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SystemEvent.Builder,
,SystemEvent> SdkBuilder<SystemEvent.Builder,
,SystemEvent> SdkPojo
- Enclosing class:
SystemEvent
@Mutable
@NotThreadSafe
public static interface SystemEvent.Builder
extends SdkPojo, CopyableBuilder<SystemEvent.Builder,SystemEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe event type.The event type.default SystemEvent.Builder
stateChangeConfiguration
(Consumer<StateChangeConfiguration.Builder> stateChangeConfiguration) Contains the configuration information of alarm state changes.stateChangeConfiguration
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventType
The event type. If the value is
STATE_CHANGE
, the event contains information about alarm state changes.- Parameters:
eventType
- The event type. If the value isSTATE_CHANGE
, the event contains information about alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The event type. If the value is
STATE_CHANGE
, the event contains information about alarm state changes.- Parameters:
eventType
- The event type. If the value isSTATE_CHANGE
, the event contains information about alarm state changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builder
avoiding the need to create one manually viaStateChangeConfiguration.builder()
.When the
Consumer
completes,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:
-