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