Interface ParameterConstraints.Builder

    • Method Detail

      • allowedValues

        ParameterConstraints.Builder allowedValues​(Collection<String> allowedValues)

        A list of values that are permitted for a parameter.

        Parameters:
        allowedValues - A list of values that are permitted for a parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedValues

        ParameterConstraints.Builder allowedValues​(String... allowedValues)

        A list of values that are permitted for a parameter.

        Parameters:
        allowedValues - A list of values that are permitted for a parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.