Interface Event.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Event.Builder,Event>,SdkBuilder<Event.Builder,Event>,SdkPojo
- Enclosing class:
- Event
public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event.Builderactions(Collection<Action> actions)The actions to be performed.Event.Builderactions(Consumer<Action.Builder>... actions)The actions to be performed.Event.Builderactions(Action... actions)The actions to be performed.Event.Buildercondition(String condition)Optional.Event.BuildereventName(String eventName)The name of the event.-
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
-
eventName
Event.Builder eventName(String eventName)
The name of the event.
- Parameters:
eventName- The name of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
Event.Builder condition(String condition)
Optional. The Boolean expression that, when TRUE, causes the
actionsto 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).- Parameters:
condition- Optional. The Boolean expression that, when TRUE, causes theactionsto 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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Event.Builder actions(Collection<Action> actions)
The actions to be performed.
- Parameters:
actions- The actions to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Event.Builder actions(Action... actions)
The actions to be performed.
- Parameters:
actions- The actions to be performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Event.Builder actions(Consumer<Action.Builder>... actions)
The actions to be performed.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
-