Class RestResponseRegex

java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.RestResponseRegex

public final class RestResponseRegex extends Object
The regular expressions to match the response content with.
  • Constructor Details

    • RestResponseRegex

      public RestResponseRegex()
      Creates an instance of RestResponseRegex class.
  • Method Details

    • matches

      public List<String> matches()
      Get the matches property: The list of regular expressions.
      Returns:
      the matches value.
    • withMatches

      public RestResponseRegex withMatches(List<String> matches)
      Set the matches property: The list of regular expressions.
      Parameters:
      matches - the matches value to set.
      Returns:
      the RestResponseRegex object itself.
    • matchQuantifier

      public RestMatchQuantifier matchQuantifier()
      Get the matchQuantifier property: Indicates whether any or all of the expressions should match with the response content.
      Returns:
      the matchQuantifier value.
    • withMatchQuantifier

      public RestResponseRegex withMatchQuantifier(RestMatchQuantifier matchQuantifier)
      Set the matchQuantifier property: Indicates whether any or all of the expressions should match with the response content.
      Parameters:
      matchQuantifier - the matchQuantifier value to set.
      Returns:
      the RestResponseRegex object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.