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 Summary
Constructors Constructor Description HttpErrorRangeParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerbegin()Get the begin property: The inclusive start of the http status code range.Integerend()Get the end property: The inclusive end of the http status code range.voidvalidate()Validates the instance.HttpErrorRangeParameterswithBegin(Integer begin)Set the begin property: The inclusive start of the http status code range.HttpErrorRangeParameterswithEnd(Integer end)Set the end property: The inclusive end of the http status code range.
-
-
-
Method Detail
-
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.
-
-