Class StatusCodesRangeBasedTrigger
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.StatusCodesRangeBasedTrigger
-
public final class StatusCodesRangeBasedTrigger extends Object
Trigger based on range of status codes.
-
-
Constructor Summary
Constructors Constructor Description StatusCodesRangeBasedTrigger()
-
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: The path property.StringstatusCodes()Get the statusCodes property: HTTP status code.StringtimeInterval()Get the timeInterval property: Time interval.voidvalidate()Validates the instance.StatusCodesRangeBasedTriggerwithCount(Integer count)Set the count property: Request Count.StatusCodesRangeBasedTriggerwithPath(String path)Set the path property: The path property.StatusCodesRangeBasedTriggerwithStatusCodes(String statusCodes)Set the statusCodes property: HTTP status code.StatusCodesRangeBasedTriggerwithTimeInterval(String timeInterval)Set the timeInterval property: Time interval.
-
-
-
Method Detail
-
statusCodes
public String statusCodes()
Get the statusCodes property: HTTP status code.- Returns:
- the statusCodes value.
-
withStatusCodes
public StatusCodesRangeBasedTrigger withStatusCodes(String statusCodes)
Set the statusCodes property: HTTP status code.- Parameters:
statusCodes- the statusCodes value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
path
public String path()
Get the path property: The path property.- Returns:
- the path value.
-
withPath
public StatusCodesRangeBasedTrigger withPath(String path)
Set the path property: The path property.- Parameters:
path- the path value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
count
public Integer count()
Get the count property: Request Count.- Returns:
- the count value.
-
withCount
public StatusCodesRangeBasedTrigger withCount(Integer count)
Set the count property: Request Count.- Parameters:
count- the count value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
public StatusCodesRangeBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.- Parameters:
timeInterval- the timeInterval value to set.- Returns:
- the StatusCodesRangeBasedTrigger object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-