Class RequestsBasedTrigger
java.lang.Object
com.azure.resourcemanager.appservice.models.RequestsBasedTrigger
Trigger based on total requests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Request Count.Get the timeInterval property: Time interval.void
validate()
Validates the instance.Set the count property: Request Count.withTimeInterval
(String timeInterval) Set the timeInterval property: Time interval.
-
Constructor Details
-
RequestsBasedTrigger
public RequestsBasedTrigger()
-
-
Method Details
-
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 RequestsBasedTrigger 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 RequestsBasedTrigger object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-