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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionResultEvent.BuildernodeName(String nodeName)The name of the condition node that evaluated the conditions.ConditionResultEvent.BuildersatisfiedConditions(Collection<SatisfiedCondition> satisfiedConditions)A list of conditions that were satisfied during the evaluation.ConditionResultEvent.BuildersatisfiedConditions(Consumer<SatisfiedCondition.Builder>... satisfiedConditions)A list of conditions that were satisfied during the evaluation.ConditionResultEvent.BuildersatisfiedConditions(SatisfiedCondition... satisfiedConditions)A list of conditions that were satisfied during the evaluation.ConditionResultEvent.Buildertimestamp(Instant timestamp)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 Detail
-
nodeName
ConditionResultEvent.Builder nodeName(String 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
ConditionResultEvent.Builder satisfiedConditions(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
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.Builderavoiding the need to create one manually viaSatisfiedCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#satisfiedConditions(List.) - 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:
#satisfiedConditions(java.util.Collection)
-
timestamp
ConditionResultEvent.Builder timestamp(Instant 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.
-
-