Interface Predicate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Predicate.Builder,
,Predicate> SdkBuilder<Predicate.Builder,
,Predicate> SdkPojo
- Enclosing class:
Predicate
public static interface Predicate.Builder
extends SdkPojo, CopyableBuilder<Predicate.Builder,Predicate>
-
Method Summary
Modifier and TypeMethodDescriptionconditions
(Collection<Condition> conditions) A list of the conditions that determine when the trigger will fire.conditions
(Consumer<Condition.Builder>... conditions) A list of the conditions that determine when the trigger will fire.conditions
(Condition... conditions) A list of the conditions that determine when the trigger will fire.An optional field if only one condition is listed.An optional field if only one condition is listed.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 Details
-
logical
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
- Parameters:
logical
- An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logical
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
- Parameters:
logical
- An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditions
A list of the conditions that determine when the trigger will fire.
- Parameters:
conditions
- A list of the conditions that determine when the trigger will fire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of the conditions that determine when the trigger will fire.
- Parameters:
conditions
- A list of the conditions that determine when the trigger will fire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
A list of the conditions that determine when the trigger will fire.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditions(List<Condition>)
.- Parameters:
conditions
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-