Interface LabelMatchStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LabelMatchStatement.Builder,,LabelMatchStatement> SdkBuilder<LabelMatchStatement.Builder,,LabelMatchStatement> SdkPojo
- Enclosing class:
LabelMatchStatement
-
Method Summary
Modifier and TypeMethodDescriptionThe string to match against.Specify whether you want to match using the label name or just the namespace.scope(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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:
-
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.
-
-