public static interface Predicate.Builder extends CopyableBuilder<Predicate.Builder,Predicate>
Modifier and Type | Method and Description |
---|---|
Predicate.Builder |
conditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
conditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
conditions(Consumer<Condition.Builder>... conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
logical(Logical logical)
Currently "OR" is not supported.
|
Predicate.Builder |
logical(String logical)
Currently "OR" is not supported.
|
copy
applyMutation, build
Predicate.Builder logical(String logical)
Currently "OR" is not supported.
Predicate.Builder logical(Logical logical)
Currently "OR" is not supported.
Predicate.Builder conditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
conditions
- A list of the conditions that determine when the trigger will fire.Predicate.Builder conditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
conditions
- A list of the conditions that determine when the trigger will fire.Predicate.Builder conditions(Consumer<Condition.Builder>... conditions)
A list of the conditions that determine when the trigger will fire.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #conditions(List)
.conditions
- a consumer that will call methods on List.Builder
#conditions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.