Interface NamespaceKeyValidation.Builder

  • Method Details

    • allowedValues

      NamespaceKeyValidation.Builder allowedValues(Collection<String> allowedValues)

      The allowed values for this namespace variable key.

      Parameters:
      allowedValues - The allowed values for this namespace variable key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      NamespaceKeyValidation.Builder allowedValues(String... allowedValues)

      The allowed values for this namespace variable key.

      Parameters:
      allowedValues - The allowed values for this namespace variable key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regexPattern

      NamespaceKeyValidation.Builder regexPattern(String regexPattern)

      A regex pattern that the namespace variable key-value must match.

      Parameters:
      regexPattern - A regex pattern that the namespace variable key-value must match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.