Class HttpErrorRangeParameters

java.lang.Object
com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters

public final class HttpErrorRangeParameters extends Object
The JSON object that represents the range for http status codes.
  • Constructor Details

    • HttpErrorRangeParameters

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

    • begin

      public Integer begin()
      Get the begin property: The inclusive start of the http status code range.
      Returns:
      the begin value.
    • withBegin

      public HttpErrorRangeParameters withBegin(Integer begin)
      Set the begin property: The inclusive start of the http status code range.
      Parameters:
      begin - the begin value to set.
      Returns:
      the HttpErrorRangeParameters object itself.
    • end

      public Integer end()
      Get the end property: The inclusive end of the http status code range.
      Returns:
      the end value.
    • withEnd

      public HttpErrorRangeParameters withEnd(Integer end)
      Set the end property: The inclusive end of the http status code range.
      Parameters:
      end - the end value to set.
      Returns:
      the HttpErrorRangeParameters object itself.
    • validate

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