Class StatusCodesRangeBasedTrigger
java.lang.Object
com.azure.resourcemanager.appservice.models.StatusCodesRangeBasedTrigger
Trigger based on range of status codes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Request Count.path()
Get the path property: The path property.Get the statusCodes property: HTTP status code.Get the timeInterval property: Time interval.void
validate()
Validates the instance.Set the count property: Request Count.Set the path property: The path property.withStatusCodes
(String statusCodes) Set the statusCodes property: HTTP status code.withTimeInterval
(String timeInterval) Set the timeInterval property: Time interval.
-
Constructor Details
-
StatusCodesRangeBasedTrigger
public StatusCodesRangeBasedTrigger()
-
-
Method Details
-
statusCodes
Get the statusCodes property: HTTP status code.- Returns:
- the statusCodes value.
-
withStatusCodes
Set the statusCodes property: HTTP status code.- Parameters:
statusCodes
- the statusCodes value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
path
Get the path property: The path property.- Returns:
- the path value.
-
withPath
Set the path property: The path property.- Parameters:
path
- the path value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
count
Get the count property: Request Count.- Returns:
- the count value.
-
withCount
Set the count property: Request Count.- Parameters:
count
- the count value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
timeInterval
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
Set the timeInterval property: Time interval.- Parameters:
timeInterval
- the timeInterval value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-