StatusCodesRangeBasedTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. StatusCodesRangeBasedTrigger
- com.
Implements
public final class StatusCodesRangeBasedTrigger
implements JsonSerializable<StatusCodesRangeBasedTrigger>
Trigger based on range of status codes.
Constructor Summary
Constructor | Description |
---|---|
StatusCodesRangeBasedTrigger() |
Creates an instance of Status |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
count()
Get the count property: Request Count. |
static
Status |
fromJson(JsonReader jsonReader)
Reads an instance of Status |
String |
path()
Get the path property: The path property. |
String |
statusCodes()
Get the status |
String |
timeInterval()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Status |
withCount(Integer count)
Set the count property: Request Count. |
Status |
withPath(String path)
Set the path property: The path property. |
Status |
withStatusCodes(String statusCodes)
Set the status |
Status |
withTimeInterval(String timeInterval)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
StatusCodesRangeBasedTrigger
public StatusCodesRangeBasedTrigger()
Creates an instance of StatusCodesRangeBasedTrigger class.
Method Details
count
public Integer count()
Get the count property: Request Count.
Returns:
fromJson
public static StatusCodesRangeBasedTrigger fromJson(JsonReader jsonReader)
Reads an instance of StatusCodesRangeBasedTrigger from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: The path property.
Returns:
statusCodes
public String statusCodes()
Get the statusCodes property: HTTP status code.
Returns:
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCount
public StatusCodesRangeBasedTrigger withCount(Integer count)
Set the count property: Request Count.
Parameters:
Returns:
withPath
public StatusCodesRangeBasedTrigger withPath(String path)
Set the path property: The path property.
Parameters:
Returns:
withStatusCodes
public StatusCodesRangeBasedTrigger withStatusCodes(String statusCodes)
Set the statusCodes property: HTTP status code.
Parameters:
Returns:
withTimeInterval
public StatusCodesRangeBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.
Parameters:
Returns:
Applies to
Azure SDK for Java