Class HttpErrorRangeParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters
The JSON object that represents the range for http status codes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbegin()Get the begin property: The inclusive start of the http status code range.end()Get the end property: The inclusive end of the http status code range.voidvalidate()Validates the instance.Set the begin property: The inclusive start of the http status code range.Set the end property: The inclusive end of the http status code range.
-
Constructor Details
-
HttpErrorRangeParameters
public HttpErrorRangeParameters()
-
-
Method Details
-
begin
Get the begin property: The inclusive start of the http status code range.- Returns:
- the begin value.
-
withBegin
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
Get the end property: The inclusive end of the http status code range.- Returns:
- the end value.
-
withEnd
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.
-