HttpErrorRangeParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. HttpErrorRangeParameters
- com.
Implements
public final class HttpErrorRangeParameters
implements JsonSerializable<HttpErrorRangeParameters>
The JSON object that represents the range for http status codes.
Constructor Summary
Constructor | Description |
---|---|
HttpErrorRangeParameters() |
Creates an instance of Http |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
begin()
Get the begin property: The inclusive start of the http status code range. |
Integer |
end()
Get the end property: The inclusive end of the http status code range. |
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Http |
withBegin(Integer begin)
Set the begin property: The inclusive start of the http status code range. |
Http |
withEnd(Integer end)
Set the end property: The inclusive end of the http status code range. |
Methods inherited from java.lang.Object
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:
end
public Integer end()
Get the end property: The inclusive end of the http status code range.
Returns:
fromJson
public static HttpErrorRangeParameters fromJson(JsonReader jsonReader)
Reads an instance of HttpErrorRangeParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withBegin
public HttpErrorRangeParameters withBegin(Integer begin)
Set the begin property: The inclusive start of the http status code range.
Parameters:
Returns:
withEnd
public HttpErrorRangeParameters withEnd(Integer end)
Set the end property: The inclusive end of the http status code range.
Parameters:
Returns: