Class SlowRequestsBasedTrigger
java.lang.Object
com.azure.resourcemanager.appservice.models.SlowRequestsBasedTrigger
Trigger based on request execution time.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Request Count.path()
Get the path property: Request Path.Get the timeInterval property: Time interval.Get the timeTaken property: Time taken.void
validate()
Validates the instance.Set the count property: Request Count.Set the path property: Request Path.withTimeInterval
(String timeInterval) Set the timeInterval property: Time interval.withTimeTaken
(String timeTaken) Set the timeTaken property: Time taken.
-
Constructor Details
-
SlowRequestsBasedTrigger
public SlowRequestsBasedTrigger()
-
-
Method Details
-
timeTaken
Get the timeTaken property: Time taken.- Returns:
- the timeTaken value.
-
withTimeTaken
Set the timeTaken property: Time taken.- Parameters:
timeTaken
- the timeTaken value to set.- Returns:
- the SlowRequestsBasedTrigger object itself.
-
path
Get the path property: Request Path.- Returns:
- the path value.
-
withPath
Set the path property: Request Path.- Parameters:
path
- the path value to set.- Returns:
- the SlowRequestsBasedTrigger 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 SlowRequestsBasedTrigger 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 SlowRequestsBasedTrigger object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-