SlowRequestsBasedTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. SlowRequestsBasedTrigger
- com.
Implements
public final class SlowRequestsBasedTrigger
implements JsonSerializable<SlowRequestsBasedTrigger>
Trigger based on request execution time.
Constructor Summary
Constructor | Description |
---|---|
SlowRequestsBasedTrigger() |
Creates an instance of Slow |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
count()
Get the count property: Request Count. |
static
Slow |
fromJson(JsonReader jsonReader)
Reads an instance of Slow |
String |
path()
Get the path property: Request Path. |
String |
timeInterval()
Get the time |
String |
timeTaken()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Slow |
withCount(Integer count)
Set the count property: Request Count. |
Slow |
withPath(String path)
Set the path property: Request Path. |
Slow |
withTimeInterval(String timeInterval)
Set the time |
Slow |
withTimeTaken(String timeTaken)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
SlowRequestsBasedTrigger
public SlowRequestsBasedTrigger()
Creates an instance of SlowRequestsBasedTrigger class.
Method Details
count
public Integer count()
Get the count property: Request Count.
Returns:
fromJson
public static SlowRequestsBasedTrigger fromJson(JsonReader jsonReader)
Reads an instance of SlowRequestsBasedTrigger from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: Request Path.
Returns:
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.
Returns:
timeTaken
public String timeTaken()
Get the timeTaken property: Time taken.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCount
public SlowRequestsBasedTrigger withCount(Integer count)
Set the count property: Request Count.
Parameters:
Returns:
withPath
public SlowRequestsBasedTrigger withPath(String path)
Set the path property: Request Path.
Parameters:
Returns:
withTimeInterval
public SlowRequestsBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.
Parameters:
Returns:
withTimeTaken
public SlowRequestsBasedTrigger withTimeTaken(String timeTaken)
Set the timeTaken property: Time taken.
Parameters:
Returns:
Applies to
Azure SDK for Java