Interface LabelMatchStatement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LabelMatchStatement.Builder,LabelMatchStatement>,SdkBuilder<LabelMatchStatement.Builder,LabelMatchStatement>,SdkPojo
- Enclosing class:
- LabelMatchStatement
public static interface LabelMatchStatement.Builder extends SdkPojo, CopyableBuilder<LabelMatchStatement.Builder,LabelMatchStatement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LabelMatchStatement.Builderkey(String key)The string to match against.LabelMatchStatement.Builderscope(String scope)Specify whether you want to match using the label name or just the namespace.LabelMatchStatement.Builderscope(LabelMatchScope scope)Specify whether you want to match using the label name or just the namespace.-
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
-
scope
LabelMatchStatement.Builder scope(String scope)
Specify whether you want to match using the label name or just the namespace.
- Parameters:
scope- Specify whether you want to match using the label name or just the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelMatchScope,LabelMatchScope
-
scope
LabelMatchStatement.Builder scope(LabelMatchScope scope)
Specify whether you want to match using the label name or just the namespace.
- Parameters:
scope- Specify whether you want to match using the label name or just the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelMatchScope,LabelMatchScope
-
key
LabelMatchStatement.Builder key(String key)
The string to match against. The setting you provide for this depends on the match statement's
Scopesetting:-
If the
ScopeindicatesLABEL, then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name. -
If the
ScopeindicatesNAMESPACE, then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.
Labels are case sensitive and components of a label must be separated by colon, for example
NS1:NS2:name.- Parameters:
key- The string to match against. The setting you provide for this depends on the match statement'sScopesetting:-
If the
ScopeindicatesLABEL, then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name. -
If the
ScopeindicatesNAMESPACE, then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.
Labels are case sensitive and components of a label must be separated by colon, for example
NS1:NS2:name.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-