Class StatusCodesBasedTrigger
java.lang.Object
com.azure.resourcemanager.appservice.models.StatusCodesBasedTrigger
Trigger based on status code.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Request Count.path()
Get the path property: Request Path.status()
Get the status property: HTTP status code.Get the subStatus property: Request Sub Status.Get the timeInterval property: Time interval.void
validate()
Validates the instance.Get the win32Status property: Win32 error code.Set the count property: Request Count.Set the path property: Request Path.withStatus
(Integer status) Set the status property: HTTP status code.withSubStatus
(Integer subStatus) Set the subStatus property: Request Sub Status.withTimeInterval
(String timeInterval) Set the timeInterval property: Time interval.withWin32Status
(Integer win32Status) Set the win32Status property: Win32 error code.
-
Constructor Details
-
StatusCodesBasedTrigger
public StatusCodesBasedTrigger()
-
-
Method Details
-
status
Get the status property: HTTP status code.- Returns:
- the status value.
-
withStatus
Set the status property: HTTP status code.- Parameters:
status
- the status value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
subStatus
Get the subStatus property: Request Sub Status.- Returns:
- the subStatus value.
-
withSubStatus
Set the subStatus property: Request Sub Status.- Parameters:
subStatus
- the subStatus value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
win32Status
Get the win32Status property: Win32 error code.- Returns:
- the win32Status value.
-
withWin32Status
Set the win32Status property: Win32 error code.- Parameters:
win32Status
- the win32Status value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
count
Get the count property: Request Count.- Returns:
- the count value.
-
withCount
Set the count property: Request Count.- Parameters:
count
- the count value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
timeInterval
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
Set the timeInterval property: Time interval.- Parameters:
timeInterval
- the timeInterval value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
path
Get the path property: Request Path.- Returns:
- the path value.
-
withPath
Set the path property: Request Path.- Parameters:
path
- the path value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-