Interface ConditionResultEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConditionResultEvent.Builder,
,ConditionResultEvent> SdkBuilder<ConditionResultEvent.Builder,
,ConditionResultEvent> SdkPojo
- Enclosing class:
ConditionResultEvent
@Mutable
@NotThreadSafe
public static interface ConditionResultEvent.Builder
extends SdkPojo, CopyableBuilder<ConditionResultEvent.Builder,ConditionResultEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the condition node that evaluated the conditions.satisfiedConditions
(Collection<SatisfiedCondition> satisfiedConditions) A list of conditions that were satisfied during the evaluation.satisfiedConditions
(Consumer<SatisfiedCondition.Builder>... satisfiedConditions) A list of conditions that were satisfied during the evaluation.satisfiedConditions
(SatisfiedCondition... satisfiedConditions) A list of conditions that were satisfied during the evaluation.The timestamp when the condition evaluation occurred.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, sdkFieldNameToField, sdkFields
-
Method Details
-
nodeName
The name of the condition node that evaluated the conditions.
- Parameters:
nodeName
- The name of the condition node that evaluated the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
satisfiedConditions
ConditionResultEvent.Builder satisfiedConditions(Collection<SatisfiedCondition> satisfiedConditions) A list of conditions that were satisfied during the evaluation.
- Parameters:
satisfiedConditions
- A list of conditions that were satisfied during the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
satisfiedConditions
A list of conditions that were satisfied during the evaluation.
- Parameters:
satisfiedConditions
- A list of conditions that were satisfied during the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
satisfiedConditions
ConditionResultEvent.Builder satisfiedConditions(Consumer<SatisfiedCondition.Builder>... satisfiedConditions) A list of conditions that were satisfied during the evaluation.
This is a convenience method that creates an instance of theSatisfiedCondition.Builder
avoiding the need to create one manually viaSatisfiedCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosatisfiedConditions(List<SatisfiedCondition>)
.- Parameters:
satisfiedConditions
- a consumer that will call methods onSatisfiedCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestamp
The timestamp when the condition evaluation occurred.
- Parameters:
timestamp
- The timestamp when the condition evaluation occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-