public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
actions(Action... actions)
The actions to be performed.
|
Event.Builder |
actions(Collection<Action> actions)
The actions to be performed.
|
Event.Builder |
actions(Consumer<Action.Builder>... actions)
The actions to be performed.
|
Event.Builder |
condition(String condition)
Optional.
|
Event.Builder |
eventName(String eventName)
The name of the event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEvent.Builder eventName(String eventName)
The name of the event.
eventName - The name of the event.Event.Builder condition(String condition)
Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are
not performed (=FALSE).
condition - Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If
not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the
actions are not performed (=FALSE).Event.Builder actions(Collection<Action> actions)
The actions to be performed.
actions - The actions to be performed.Event.Builder actions(Action... actions)
The actions to be performed.
actions - The actions to be performed.Event.Builder actions(Consumer<Action.Builder>... actions)
The actions to be performed.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to create one
manually via Action.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #actions(List.
actions - a consumer that will call methods on
Action.Builder#actions(java.util.Collection) Copyright © 2023. All rights reserved.