Class RequestsBasedTrigger
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.RequestsBasedTrigger
-
public final class RequestsBasedTrigger extends Object
Trigger based on total requests.
-
-
Constructor Summary
Constructors Constructor Description RequestsBasedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get the count property: Request Count.StringtimeInterval()Get the timeInterval property: Time interval.voidvalidate()Validates the instance.RequestsBasedTriggerwithCount(Integer count)Set the count property: Request Count.RequestsBasedTriggerwithTimeInterval(String timeInterval)Set the timeInterval property: Time interval.
-
-
-
Method Detail
-
count
public Integer count()
Get the count property: Request Count.- Returns:
- the count value.
-
withCount
public RequestsBasedTrigger withCount(Integer count)
Set the count property: Request Count.- Parameters:
count- the count value to set.- Returns:
- the RequestsBasedTrigger object itself.
-
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
public RequestsBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.- Parameters:
timeInterval- the timeInterval value to set.- Returns:
- the RequestsBasedTrigger object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-