public static interface Condition.Builder extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
| Modifier and Type | Method and Description |
|---|---|
Condition.Builder |
actionCondition(ActionCondition actionCondition)
A single action condition.
|
default Condition.Builder |
actionCondition(Consumer<ActionCondition.Builder> actionCondition)
A single action condition.
|
default Condition.Builder |
labelNameCondition(Consumer<LabelNameCondition.Builder> labelNameCondition)
A single label name condition.
|
Condition.Builder |
labelNameCondition(LabelNameCondition labelNameCondition)
A single label name condition.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCondition.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.
actionCondition - A single action condition. This is the action setting that a log record must contain in order to meet
the condition.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.Builder avoiding the
need to create one manually via ActionCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to actionCondition(ActionCondition).
actionCondition - a consumer that will call methods on ActionCondition.BuilderactionCondition(ActionCondition)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.
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.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.Builder avoiding the
need to create one manually via LabelNameCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to labelNameCondition(LabelNameCondition).
labelNameCondition - a consumer that will call methods on LabelNameCondition.BuilderlabelNameCondition(LabelNameCondition)Copyright © 2023. All rights reserved.