Class StatusCodesBasedTrigger
- java.lang.Object
-
- com.microsoft.azure.management.appservice.StatusCodesBasedTrigger
-
public class StatusCodesBasedTrigger extends Object
Trigger based on status code.
-
-
Constructor Summary
Constructors Constructor Description StatusCodesBasedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get request Count.Integerstatus()Get hTTP status code.IntegersubStatus()Get request Sub Status.StringtimeInterval()Get time interval.Integerwin32Status()Get win32 error code.StatusCodesBasedTriggerwithCount(Integer count)Set request Count.StatusCodesBasedTriggerwithStatus(Integer status)Set hTTP status code.StatusCodesBasedTriggerwithSubStatus(Integer subStatus)Set request Sub Status.StatusCodesBasedTriggerwithTimeInterval(String timeInterval)Set time interval.StatusCodesBasedTriggerwithWin32Status(Integer win32Status)Set win32 error code.
-
-
-
Method Detail
-
status
public Integer status()
Get hTTP status code.- Returns:
- the status value
-
withStatus
public StatusCodesBasedTrigger withStatus(Integer status)
Set hTTP status code.- Parameters:
status- the status value to set- Returns:
- the StatusCodesBasedTrigger object itself.
-
subStatus
public Integer subStatus()
Get request Sub Status.- Returns:
- the subStatus value
-
withSubStatus
public StatusCodesBasedTrigger withSubStatus(Integer subStatus)
Set request Sub Status.- Parameters:
subStatus- the subStatus value to set- Returns:
- the StatusCodesBasedTrigger object itself.
-
win32Status
public Integer win32Status()
Get win32 error code.- Returns:
- the win32Status value
-
withWin32Status
public StatusCodesBasedTrigger withWin32Status(Integer win32Status)
Set win32 error code.- Parameters:
win32Status- the win32Status value to set- Returns:
- the StatusCodesBasedTrigger object itself.
-
count
public Integer count()
Get request Count.- Returns:
- the count value
-
withCount
public StatusCodesBasedTrigger withCount(Integer count)
Set request Count.- Parameters:
count- the count value to set- Returns:
- the StatusCodesBasedTrigger object itself.
-
timeInterval
public String timeInterval()
Get time interval.- Returns:
- the timeInterval value
-
withTimeInterval
public StatusCodesBasedTrigger withTimeInterval(String timeInterval)
Set time interval.- Parameters:
timeInterval- the timeInterval value to set- Returns:
- the StatusCodesBasedTrigger object itself.
-
-