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
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 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
Scope
setting:-
If the
Scope
indicatesLABEL
, 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
Scope
indicatesNAMESPACE
, 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'sScope
setting:-
If the
Scope
indicatesLABEL
, 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
Scope
indicatesNAMESPACE
, 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.
-
-