Class SlowRequestsBasedTrigger
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.SlowRequestsBasedTrigger
-
public final class SlowRequestsBasedTrigger extends Object
Trigger based on request execution time.
-
-
Constructor Summary
Constructors Constructor Description SlowRequestsBasedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get the count property: Request Count.Stringpath()Get the path property: Request Path.StringtimeInterval()Get the timeInterval property: Time interval.StringtimeTaken()Get the timeTaken property: Time taken.voidvalidate()Validates the instance.SlowRequestsBasedTriggerwithCount(Integer count)Set the count property: Request Count.SlowRequestsBasedTriggerwithPath(String path)Set the path property: Request Path.SlowRequestsBasedTriggerwithTimeInterval(String timeInterval)Set the timeInterval property: Time interval.SlowRequestsBasedTriggerwithTimeTaken(String timeTaken)Set the timeTaken property: Time taken.
-
-
-
Method Detail
-
timeTaken
public String timeTaken()
Get the timeTaken property: Time taken.- Returns:
- the timeTaken value.
-
withTimeTaken
public SlowRequestsBasedTrigger withTimeTaken(String timeTaken)
Set the timeTaken property: Time taken.- Parameters:
timeTaken- the timeTaken value to set.- Returns:
- the SlowRequestsBasedTrigger object itself.
-
path
public String path()
Get the path property: Request Path.- Returns:
- the path value.
-
withPath
public SlowRequestsBasedTrigger withPath(String path)
Set the path property: Request Path.- Parameters:
path- the path value to set.- Returns:
- the SlowRequestsBasedTrigger object itself.
-
count
public Integer count()
Get the count property: Request Count.- Returns:
- the count value.
-
withCount
public SlowRequestsBasedTrigger withCount(Integer count)
Set the count property: Request Count.- Parameters:
count- the count value to set.- Returns:
- the SlowRequestsBasedTrigger object itself.
-
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
public SlowRequestsBasedTrigger withTimeInterval(String timeInterval)
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.
-
-