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 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 indicates LABEL, 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 indicates NAMESPACE, 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's Scope setting:

      • If the Scope indicates LABEL, 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 indicates NAMESPACE, 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.