public final class SlowRequestsBasedTrigger extends Object
| Constructor and Description |
|---|
SlowRequestsBasedTrigger() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
count()
Get the count property: Request Count.
|
String |
path()
Get the path property: Request Path.
|
String |
timeInterval()
Get the timeInterval property: Time interval.
|
String |
timeTaken()
Get the timeTaken property: Time taken.
|
void |
validate()
Validates the instance.
|
SlowRequestsBasedTrigger |
withCount(Integer count)
Set the count property: Request Count.
|
SlowRequestsBasedTrigger |
withPath(String path)
Set the path property: Request Path.
|
SlowRequestsBasedTrigger |
withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.
|
SlowRequestsBasedTrigger |
withTimeTaken(String timeTaken)
Set the timeTaken property: Time taken.
|
public String timeTaken()
public SlowRequestsBasedTrigger withTimeTaken(String timeTaken)
timeTaken - the timeTaken value to set.public String path()
public SlowRequestsBasedTrigger withPath(String path)
path - the path value to set.public Integer count()
public SlowRequestsBasedTrigger withCount(Integer count)
count - the count value to set.public String timeInterval()
public SlowRequestsBasedTrigger withTimeInterval(String timeInterval)
timeInterval - the timeInterval value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.