Interface Condition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,,Condition> SdkBuilder<Condition.Builder,,Condition> SdkPojo
- Enclosing class:
Condition
@Mutable
@NotThreadSafe
public static interface Condition.Builder
extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Condition.BuilderactionCondition(Consumer<ActionCondition.Builder> actionCondition) Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).actionCondition(ActionCondition actionCondition) Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).default Condition.BuilderlabelNameCondition(Consumer<LabelNameCondition.Builder> labelNameCondition) Matches log records based on WAF rule labels applied to the request.labelNameCondition(LabelNameCondition labelNameCondition) Matches log records based on WAF rule labels applied to the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
actionCondition
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).
- Parameters:
actionCondition- Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionCondition
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).
This is a convenience method that creates an instance of theActionCondition.Builderavoiding the need to create one manually viaActionCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionCondition(ActionCondition).- Parameters:
actionCondition- a consumer that will call methods onActionCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelNameCondition
Matches log records based on WAF rule labels applied to the request.
- Parameters:
labelNameCondition- Matches log records based on WAF rule labels applied to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelNameCondition
default Condition.Builder labelNameCondition(Consumer<LabelNameCondition.Builder> labelNameCondition) Matches log records based on WAF rule labels applied to the request.
This is a convenience method that creates an instance of theLabelNameCondition.Builderavoiding the need to create one manually viaLabelNameCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelNameCondition(LabelNameCondition).- Parameters:
labelNameCondition- a consumer that will call methods onLabelNameCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-