public static interface Predicate.Builder extends SdkPojo, 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)
Optional field if only one condition is listed.
|
Predicate.Builder |
logical(String logical)
Optional field if only one condition is listed.
|
copy
applyMutation, build
Predicate.Builder logical(String logical)
Optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
Predicate.Builder logical(Logical logical)
Optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
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.