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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Predicate.Builderconditions(Collection<Condition> conditions)A list of the conditions that determine when the trigger will fire.Predicate.Builderconditions(Consumer<Condition.Builder>... conditions)A list of the conditions that determine when the trigger will fire.Predicate.Builderconditions(Condition... conditions)A list of the conditions that determine when the trigger will fire.Predicate.Builderlogical(String logical)An optional field if only one condition is listed.Predicate.Builderlogical(Logical logical)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 Detail
-
logical
Predicate.Builder logical(String logical)
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
-
logical
Predicate.Builder logical(Logical logical)
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
-
conditions
Predicate.Builder conditions(Collection<Condition> 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
Predicate.Builder conditions(Condition... 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
Predicate.Builder conditions(Consumer<Condition.Builder>... conditions)
A list of the conditions that determine when the trigger will fire.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conditions(List.) - 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:
#conditions(java.util.Collection)
-
-