Interface Condition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,Condition>,SdkBuilder<Condition.Builder,Condition>,SdkPojo
- Enclosing class:
- Condition
public static interface Condition.Builder extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Condition.BuilderactionCondition(Consumer<ActionCondition.Builder> actionCondition)A single action condition.Condition.BuilderactionCondition(ActionCondition actionCondition)A single action condition.default Condition.BuilderlabelNameCondition(Consumer<LabelNameCondition.Builder> labelNameCondition)A single label name condition.Condition.BuilderlabelNameCondition(LabelNameCondition labelNameCondition)A single label name condition.-
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
-
actionCondition
Condition.Builder actionCondition(ActionCondition actionCondition)
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
- Parameters:
actionCondition- A single action condition. This is the action setting that a log record must contain in order to meet the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionCondition
default Condition.Builder actionCondition(Consumer<ActionCondition.Builder> actionCondition)
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
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:
actionCondition(ActionCondition)
-
labelNameCondition
Condition.Builder labelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
- Parameters:
labelNameCondition- A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelNameCondition
default Condition.Builder labelNameCondition(Consumer<LabelNameCondition.Builder> labelNameCondition)
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
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:
labelNameCondition(LabelNameCondition)
-
-